How I Found XSS — CVE-2025–0133 Using Shodan
A reflected cross-site scripting flaw existed in the user parameter of a PAN-OS SSL-VPN endpoint, where the value was echoed back without sanitisation. An attacker could craft a link that runs script in a victim's browser in the context of the affected portal.
First of all, thank you so much for the support on my previous articles. 🙏 I know my English isn’t perfect, but I’m genuinely trying to share my experiences in bug hunting to help others — especially beginners. So please ignore small mistakes and focus on the value. 😊
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 SSL-VPN endpoint reflected the user parameter into its response without encoding or validating it.
What the attacker needed
Target runs PAN-OS SSL-VPN; victim opens a crafted link
How it was found
- Choose a wildcard domain belonging to the target.
- Search Shodan for hosts running PAN-OS with a certificate or hostname matching the target.
- Open a listed host in the browser.
- Send a request to the SSL-VPN getconfig endpoint with a script-bearing value in the user parameter.
- Check whether the value is reflected unsanitised, confirming XSS.
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 something a visitor supplies, such as part of a web address, and puts it into the page without cleaning it first. If that something is a small script, the browser runs it as if the site itself had written it, so the attacker's code can act with the site's permissions. Here the vulnerable spot was a login portal parameter that was echoed back unchanged.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.