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

XSS in reason field. #29

Closed
Sama34 opened this Issue Jan 2, 2019 · 1 comment

Comments

1 participant
@Sama34
Copy link
Owner

Sama34 commented Jan 2, 2019

Describe the bug
Apparently custom reasons are not sanitized on output.

To Reproduce
Steps to reproduce the behavior:

  1. Have a mod account level or higher.
  2. Go to Manage Awards in ModCP.
  3. Give an award to a user and input payload for reason.
<script>alert('XSS')</script>
  1. Payload executes when viewing award on awards.php and user profiles.

Expected behavior
Such code shouldn't be executed.

@Sama34 Sama34 added the bug label Jan 2, 2019

@Sama34 Sama34 added this to the 1.8.10 milestone Jan 2, 2019

@Sama34 Sama34 added this to To do in OUGC Awards 1.9 via automation Jan 2, 2019

@Sama34 Sama34 closed this in fae55f3 Jan 2, 2019

OUGC Awards 1.9 automation moved this from To do to Done Jan 2, 2019

@Sama34

This comment has been minimized.

Copy link
Owner

Sama34 commented Jan 2, 2019

Thanks to @0xB9 for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment