Skip to content

Cross Site Script Vulnerability on "Registration Settings" #2323

Closed
@Songohan22

Description

@Songohan22

Describe the bug
An authent.icated malicious user can take advantage of a Stored XSS vulnerability in the "Registration Settings" feature.

To Reproduce
Steps to reproduce the behavior:

  1. Log into the panel.
  2. Go to "/administration/settings_registration.php"
  3. Click on Registration.
  4. Insert payload:
    4
  5. Click "Save Setting"
  6. Go to "/home.php", click Register
    9
  7. Click " Terms of Agreement"
    10
  8. XSS Alert Message

Expected behavior
The removal of script tags is not sufficient to prevent an XSS attack. You must HTML Entity encode any output that is reflected back to the page.

Screenshots
XSS Alert Message:
11

Desktop (please complete the following information):

  • OS: Kali
  • Browser: Firefox
  • Version of Browser: 68.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions