Skip to content
XSS Disclosed report Beginner

Reflected XSS via user Parameter on getconfig.esp Endpoint

The user parameter of the getconfig.esp endpoint reflects input without sanitisation, allowing an attacker to inject JavaScript. A victim who visits a crafted URL could have scripts run in their browser, enabling session theft or actions on their behalf.

aramx4 Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 16 days
  • Disclosed after 7 months

Summary: An attacker can inject arbitrary JavaScript into the user parameter of the /ssl-vpn/getconfig.esp endpoint, leading to reflected Cross-Site Scripting (XSS). This allows remote attackers to execute malicious scripts in the victim's browser, potentially stealing session cookies, performing actions on behalf of the user, or redirecting them to malicious sites.

Impact

  • An attacker can craft a malicious URL and trick victims (e.g., via phishing emails or malicious links) into visiting the site, leading to:

  • Theft of session tokens (if stored in cookies).

  • Execution of arbitrary actions in the user's context.

  • Phishing attacks using fake login forms.

  • Redirection to malicious domains.

System Host(s)

█████████

Affected Product(s) and Version(s)

DoD Morpheus SSL VPN Web Portal (Version unknown, observed in production as of June 2025)

CVE Numbers

Steps to Reproduce

  • Open a browser (e.g., Chrome or Firefox).

  • Paste the full PoC URL into the address bar.

  • Press Enter.

  • Observe a JavaScript prompt('XSS') triggered via the SVG/script payload.

Suggested Mitigation/Remediation Actions

Recommendation:

  • Properly sanitize and encode user input before reflecting it back in the HTML response.

  • Use a secure templating engine that automatically escapes output.

  • Set a Content Security Policy (CSP) to mitigate inline script execution.

  • Validate inputs on both client and server sides.

The original report as published on HackerOne, by aramx4. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the endpoint reflects the user parameter into the HTML response without output encoding or sanitisation.

Impact

An attacker could steal session tokens, perform actions as the victim, show fake login forms, or redirect the victim to malicious sites, though the report does not demonstrate these beyond a prompt.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Open a browser.
  2. Paste the full PoC URL into the address bar.
  3. Press Enter.
  4. Observe a JavaScript prompt triggered via the SVG/script payload.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a website takes something you typed in a link and puts it straight into the page without cleaning it, an attacker can put code there instead of normal text. That code then runs in your browser as if the website itself had written it. This is called reflected cross-site scripting, and it lets an attacker act as you on that site.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by aramx4

View all

1 more disclosed report, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.