‘PanOS-XSS’ Through Common NameVulnerabilities Across Real We
A reflected cross-site scripting flaw existed in the PAN-OS SSL VPN endpoint, where the 'user' parameter was not properly sanitised. An attacker could craft a URL that executes arbitrary JavaScript in a victim's browser.
Published on medium.com
https://github.com/projectdiscovery/nucleitemplates/blob/main/http/cves/2025/CVE-2025-0133.yaml
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application failed to encode or sanitise the 'user' parameter before reflecting it into the response, allowing script-capable SVG markup to execute.
Impact
An attacker could run arbitrary JavaScript in a victim's session, which may lead to session hijacking, phishing, or actions performed on the user's behalf, depending on cookie protections and context.
What the attacker needed
Victim clicks a crafted link; target runs vulnerable PAN-OS; attacker can reach the SSL VPN endpoint
The fix
The report recommends contextual output encoding, sanitising SVG input, setting HttpOnly/Secure/SameSite cookie flags, and adding a Content-Security-Policy as defence in depth.
How it was found
- Search Shodan for PAN-OS devices filtered by SSL certificate common name.
- Pick a target domain and note its IP address.
- Use the provided nuclei template payload against the target IP's SSL VPN endpoint.
- Observe the XSS prompt pop up, confirming the vulnerability.
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 write-up has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website takes input from a user and puts it into a page without cleaning it, so an attacker can sneak in their own code. Here, a part of the web address was placed into the page as if it were safe, letting a script run in the victim's browser. The attacker just needs to trick someone into clicking a crafted link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.