Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self - Stored Cross Site Scripting (XSS) - state.php #2475

Loginsoft-Research opened this issue Jan 24, 2019 · 0 comments


Copy link

commented Jan 24, 2019

Describe Your Environment

  • ZoneMinder v1.33.1
  • Installed from - ppa:iconnor/zoneminder-master

Describe the bug
The view Run State, does no input validation to the value supplied to New State field & processes it further storing the value into the database without any prior filtration, leading to stored XSS.

To Reproduce
Affected URL :

POST Data -

Payload used - <script>alert('1');</script>

  • Navigate to the Affected URL and set value of New State with payload
  • Click on Download and Payload would be triggered.


state 1

Expected behavior

  • Proper escaping of special characters.

Debug Logs


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.