Skip to content
XSS Write-up Beginner

CVE-2025–0133: Reflected XSS Vulnerability in Palo Alto GlobalProtect Gateway & Portal

A reflected cross-site scripting flaw existed in the GlobalProtect gateway and portal of PAN-OS, where a crafted link caused attacker-chosen JavaScript to run in an authenticated user's browser. An attacker could use this for phishing and credential theft, especially when Clientless VPN was enabled.

codewithvamp Follow

Published on codewithvamp.medium.com

A reflected cross-site scripting (XSS) vulnerability (CVE-2025–0133) was recently discovered in Palo Alto Networks’ PAN-OS, specifically in its GlobalProtect™ gateway and portal. Attackers can craft a malicious link that executes arbitrary JavaScript in the browser of an authenticated user, leading to phishing and…

Vaibhav Kumar Srivastava, on codewithvamp.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 portal reflected a user-supplied URL parameter into the page without proper output encoding, allowing script markup to execute.

Impact

If Clientless VPN is enabled, an attacker could use the trusted VPN portal interface for phishing and credential theft; the flaw does not allow modification of the portal or its configuration, and availability is unaffected.

What the attacker needed

Victim clicks a crafted link; victim is authenticated to the portal; Clientless VPN enabled for credential theft

How it was found

  1. Navigate to the Palo Alto portal.
  2. Append a crafted query string containing a script payload in the user parameter to the portal URL.
  3. The script executes in the browser in the context of the GlobalProtect portal.

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, or XSS, is when a website takes something from a link or form and puts it into the page without cleaning it, so a script written by an attacker runs as if the site itself wrote it. Here the VPN login page did that with a value in the URL, so a link could make the trusted VPN page run the attacker's script. The script could then show a fake login form or steal what the user types.

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 codewithvamp

View all

3 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.