Skip to content
XSS Write-up Beginner

How I Discovered CVE-2025–0133 – Reflected XSS with Shodan Recon

A reflected cross-site scripting vulnerability was found in a PAN-OS SSL VPN endpoint where a user-supplied parameter was reflected without proper sanitisation. An attacker could execute arbitrary JavaScript in a victim's browser.

zuksh Follow

Published on zuksh.medium.com

I used Shodan and manual testing to find these bugs. I’ll show how I discovered them, the payloads I used.

Zuksh, on zuksh.medium.com

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 sanitise or encode the 'user' parameter before reflecting it in the response.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to session hijacking or other client-side attacks.

What the attacker needed

Victim clicks a crafted link; target runs PAN-OS SSL VPN

How it was found

  1. Choose a wildcard domain for the target.
  2. Use Shodan queries to find devices running PAN-OS related to the target domain.
  3. Test the SSL VPN endpoint with an XSS payload in the 'user' parameter.
  4. Observe that the payload executes, 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 directly into a page without cleaning it first. An attacker can craft a link that, when clicked, runs their own JavaScript in the victim's browser, potentially stealing data or performing actions as the victim.

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 zuksh

View all

6 more disclosed reports, best first.

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.