HexBrain

U.S. Dept Of Defense · Report #1159255

DOM Based XSS on https://████ via backURL param

Validstatus
mediumseverity
14upvotes
11 May 2021disclosed

How it was found

Description:

The following endpoint suffers from DOM Based XSS

https://████████/██████=javascript:alert(document.domain)

The ████████ param determines the content which will be displayed on the "Back to Search Result" button, eventually leading to RXSS.

References

██████

Regards

nagli

Impact

Executing javascript on the victims behalf

System Host(s)

████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Navigate to
https://█████/████=javascript:alert(document.domain)
  1. Click on "Back to Search Result"

Suggested Mitigation/Remediation Actions

Sanitize the user input and do not allow malicious schemes to be inserted per the user input.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original