CVE-2025-0104 Overview
CVE-2025-0104 is a reflected cross-site scripting (XSS) vulnerability in Palo Alto Networks Expedition, the vendor's firewall migration and configuration tool. Attackers can execute malicious JavaScript in the browser context of an authenticated Expedition user when that user clicks a crafted link. Successful exploitation enables phishing attacks and can lead to theft of the Expedition browser session. The flaw is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation. Palo Alto Networks published details in advisory PAN-SA-2025-0001.
Critical Impact
Attackers can hijack authenticated Expedition sessions and execute arbitrary JavaScript in the victim's browser, exposing sensitive migration configuration data.
Affected Products
- Palo Alto Networks Expedition (all versions prior to the fixed release listed in PAN-SA-2025-0001)
Discovery Timeline
- 2025-01-11 - CVE-2025-0104 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-0104
Vulnerability Analysis
The vulnerability is a reflected XSS flaw in the Expedition web interface. Expedition reflects attacker-controlled input from an HTTP request back into a response page without adequate output encoding or input sanitization. When an authenticated user loads the crafted URL, the injected JavaScript executes in the origin context of the Expedition application.
Exploitation requires user interaction. An attacker must convince an authenticated Expedition user to click a malicious link, typically delivered through phishing. The vulnerability does not require authentication on the attacker's side, only on the victim's side.
Because the script runs with the privileges of the authenticated Expedition session, attackers can read session cookies, exfiltrate configuration data being migrated, perform actions on behalf of the user, or pivot into deeper compromise of firewall migration artifacts stored in the Expedition instance.
Root Cause
The root cause is improper neutralization of user-supplied input in one or more Expedition web endpoints. Input reflected into HTML responses is not consistently HTML-encoded, allowing <script> tags or event-handler attributes supplied via query parameters to execute in the browser.
Attack Vector
The attack vector is network-based through a browser. An attacker crafts a URL pointing to a vulnerable Expedition endpoint with a malicious payload embedded in a reflected parameter. The attacker delivers the URL to an authenticated Expedition user through email, chat, or another phishing channel. On click, the payload is reflected into the response and executed by the victim's browser under the Expedition origin.
No verified public proof-of-concept code is available for this issue. See the Palo Alto Networks Security Advisory PAN-SA-2025-0001 for vendor technical details.
Detection Methods for CVE-2025-0104
Indicators of Compromise
- Expedition HTTP access logs containing request parameters with <script, javascript:, onerror=, or onload= substrings.
- Outbound HTTP requests from Expedition user browsers to unfamiliar external domains immediately after clicking Expedition links.
- Unexpected session activity, configuration exports, or authentication events in Expedition audit logs originating from legitimate user sessions.
- Emails or messages delivering URLs pointing to the Expedition management interface from external senders.
Detection Strategies
- Inspect Expedition web server logs for reflected parameter values containing HTML or JavaScript syntax.
- Deploy a web application firewall (WAF) rule set that flags XSS payload patterns targeting the Expedition management URL.
- Monitor browser endpoint telemetry for script execution originating from the Expedition origin that initiates unusual DOM or network activity.
- Correlate email gateway URL-click telemetry with subsequent Expedition session anomalies.
Monitoring Recommendations
- Enable verbose access logging on the Expedition web server and forward logs to a centralized SIEM for retention and search.
- Alert on Expedition sessions that generate atypical API activity within seconds of a user clicking an externally sourced link.
- Track user-agent and referer headers on Expedition requests to identify sessions initiated from external origins.
How to Mitigate CVE-2025-0104
Immediate Actions Required
- Upgrade Expedition to the fixed release identified in PAN-SA-2025-0001.
- Restrict network access to the Expedition management interface to trusted administrative networks or a jump host.
- Instruct Expedition users to avoid clicking Expedition links received through email or messaging until the patch is applied.
- Invalidate active Expedition sessions and rotate credentials after patching.
Patch Information
Palo Alto Networks addressed CVE-2025-0104 in the Expedition release referenced by advisory PAN-SA-2025-0001. Administrators should review the advisory for the exact fixed version and apply the update on all Expedition instances.
Workarounds
- Isolate Expedition on a management-only network segment reachable only from administrator workstations.
- Require administrators to access Expedition through a dedicated browser profile that stores no other credentials or session tokens.
- Deploy browser-level content security policy (CSP) enforcement or a WAF in front of Expedition to block reflected script payloads.
- Disable or decommission Expedition instances that are no longer required for firewall configuration migration.
# Example: restrict Expedition access to an admin subnet using iptables
iptables -A INPUT -p tcp --dport 443 -s 10.10.20.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

