Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-25691 Overview
CVE-2024-25691 is a reflected cross-site scripting (XSS) vulnerability in Esri Portal for ArcGIS versions 11.1 and below. A remote, unauthenticated attacker can craft a malicious link that, when clicked by a victim, executes arbitrary JavaScript in the victim's browser session. The flaw is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). Because the vulnerability requires user interaction and crosses a security scope, it can be used to steal session data, perform actions on behalf of authenticated Portal users, or redirect victims to attacker-controlled resources.
Critical Impact
Successful exploitation lets an unauthenticated attacker execute arbitrary JavaScript in a victim's Portal for ArcGIS browser session, enabling session theft and actions impersonating the user.
Affected Products
- Esri Portal for ArcGIS 10.8.1
- Esri Portal for ArcGIS 10.9.1
- Esri Portal for ArcGIS 11.1 and below
Discovery Timeline
- 2024-10-04 - CVE-2024-25691 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-25691
Vulnerability Analysis
The vulnerability is a reflected XSS flaw in Esri Portal for ArcGIS, a web-based component used to share and manage geospatial content across organizations. User-supplied input included in an HTTP request is reflected back into a rendered response without adequate output encoding or input sanitization.
An attacker crafts a URL containing a JavaScript payload in a vulnerable parameter. When an authenticated or anonymous Portal user clicks the link, the browser executes the attacker's script in the context of the Portal origin. The scope change (S:C in the CVSS vector) indicates the injected script can affect resources beyond the vulnerable component, such as other Portal pages or linked ArcGIS services.
Impact is limited to confidentiality and integrity of data accessible from the victim's browser session. There is no direct server-side code execution, but session cookies, CSRF tokens, map configurations, and user content can be exfiltrated or modified.
Root Cause
The root cause is improper neutralization of input during web page generation (CWE-79). Portal for ArcGIS reflects attacker-controlled request parameters into HTML responses without applying context-appropriate output encoding, allowing <script> content or event-handler attributes to be interpreted by the browser.
Attack Vector
The attack vector is network-based and requires user interaction. An attacker crafts a URL pointing to a vulnerable Portal for ArcGIS endpoint with an XSS payload embedded in a reflected parameter. The attacker then delivers the link through phishing email, chat, or a compromised page. When the victim clicks the link while visiting their organization's Portal instance, the injected script executes under the Portal origin and inherits the victim's privileges.
No exploit code is publicly listed in Exploit-DB or CISA KEV, and no proof-of-concept URLs are published in the advisory. Technical details are described in prose only; refer to the Esri ArcGIS Security Update 2024 for vendor-published guidance.
Detection Methods for CVE-2024-25691
Indicators of Compromise
- Portal for ArcGIS web server access logs containing URL parameters with <script>, javascript:, onerror=, onload=, or encoded equivalents such as %3Cscript%3E.
- Outbound requests from user browsers to unexpected external domains immediately after visiting a Portal URL.
- Unexpected authenticated API calls from Portal user accounts correlated with recent click events on externally supplied links.
Detection Strategies
- Deploy a web application firewall (WAF) rule set that flags XSS payload signatures on query strings and fragment parameters directed at Portal for ArcGIS endpoints.
- Perform retrospective hunting across proxy and web server logs for long, URL-encoded parameters containing HTML or JavaScript keywords.
- Correlate email gateway telemetry with web proxy logs to identify phishing messages carrying crafted Portal URLs.
Monitoring Recommendations
- Enable verbose access logging on the Portal for ArcGIS web tier and forward logs to a centralized analytics platform.
- Monitor Portal administrative actions for anomalies, including content sharing changes or token issuance from unusual user agents.
- Alert on repeated 400/500 responses from Portal URLs with suspicious parameter contents, which can indicate exploit probing.
How to Mitigate CVE-2024-25691
Immediate Actions Required
- Upgrade Esri Portal for ArcGIS to the version addressed in the Esri Security 2024 Update 2 release.
- Audit Portal user activity for suspicious administrative changes and rotate any session tokens believed to be exposed.
- Train Portal users to avoid clicking Portal URLs received from untrusted senders, especially those containing encoded script content.
Patch Information
Esri addressed CVE-2024-25691 in the Portal for ArcGIS Security 2024 Update 2 release. Review the Esri ArcGIS Security Update 2024 advisory for applicable patches to versions 10.8.1, 10.9.1, and 11.1, and apply them in accordance with Esri's upgrade guidance.
Workarounds
- Place Portal for ArcGIS behind a web application firewall configured to block common reflected XSS payload patterns on query parameters.
- Enforce a strict Content Security Policy (CSP) at the reverse proxy to limit inline script execution and restrict permitted script sources.
- Restrict Portal access to trusted networks or VPN users until the patch can be deployed to reduce exposure to unauthenticated attackers.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

