Skip to content
XSS Write-up Beginner

“Bug Bounty CVE-2025–0133 PAN-OS: Reflected Cross-Site Script

A reflected cross-site scripting flaw existed in the GlobalProtect gateway and portal features of PAN-OS, where a crafted link could run malicious JavaScript in an authenticated Captive Portal user's browser. The main risk described is phishing that could lead to credential theft, especially when Clientless VPN is enabled.

HariHaranK Follow

Published on medium.com

A reflected cross-site scripting (XSS) vulnerability in the GlobalProtect gateway and portal features of Palo Alto Networks PAN-OS software enables execution of malicious JavaScript in the context of an authenticated Captive Portal user’s browser when they click on a specially crafted link. The primary risk is…

HariHaranK, on 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 getconfig endpoint reflected the user parameter into the response without proper output encoding.

Impact

An attacker could run script in an authenticated user's browser, which the text says mainly enables phishing and possible credential theft, particularly with Clientless VPN enabled.

What the attacker needed

Victim clicks a crafted link; victim is an authenticated Captive Portal user; Clientless VPN raises the risk

How it was found

  1. Search for exposed PAN-OS GlobalProtect instances using the given search engine queries.
  2. Open one of the results and look for the GlobalProtect login endpoint.
  3. Send the crafted request to the getconfig endpoint with script in the user parameter to trigger the 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 puts attacker-supplied text into a page without cleaning it, so the browser runs it as code. Here a link to the VPN login area carried script in a parameter, and the page reflected it back, so the script ran as if it came from the trusted site. That lets an attacker show fake prompts or steal what the logged-in 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.

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.