Skip to main content
Vulnerability Database/CVE-2024-25709

CVE-2024-25709: Esri Portal For ArcGIS XSS Vulnerability

CVE-2024-25709 is a stored cross-site scripting flaw in Esri Portal for ArcGIS that allows attackers to execute arbitrary JavaScript code in victim browsers. This post explains its impact, affected versions, and mitigation steps.

Published:

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-25709 Overview

CVE-2024-25709 is a stored Cross-Site Scripting (XSS) vulnerability in Esri Portal for ArcGIS versions 11.2 and earlier. An authenticated remote attacker can craft a malicious link and save it as a new location when moving an existing item. When a victim interacts with the crafted content, arbitrary JavaScript executes in the victim's browser session. The flaw is tracked under CWE-79 (Improper Neutralization of Input During Web Page Generation).

Exploitation requires user interaction and results in a scope change, potentially exposing session tokens, portal content, and administrative functions accessible to the victim.

Critical Impact

Successful exploitation allows JavaScript execution in a victim's browser, enabling session theft, unauthorized actions within the ArcGIS portal, and pivoting to administrative operations.

Affected Products

  • Esri Portal for ArcGIS 10.8.1, 10.9.1, 11.0, 11.1, 11.2
  • Deployments on Microsoft Windows hosts
  • Deployments on Linux hosts

Discovery Timeline

  • 2024-04-04 - CVE-2024-25709 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-25709

Vulnerability Analysis

The vulnerability resides in the item relocation workflow of Esri Portal for ArcGIS. When an authenticated user moves an existing item, the application accepts a user-supplied value as the new location without adequately sanitizing or encoding embedded HTML and JavaScript.

The malicious payload persists in the portal's stored data. Any subsequent user who renders the affected view triggers execution of the attacker-controlled script in their browser context. Because the scope changes from the vulnerable component to the victim's browser session, the attacker can perform actions authorized by the victim, including data access and configuration changes within the portal.

Root Cause

The root cause is improper neutralization of user input during web page generation, classified under CWE-79. The location field associated with item move operations does not enforce output encoding or input validation strict enough to strip active content such as <script> tags or JavaScript event handlers.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker with authenticated portal access crafts a payload containing JavaScript and stores it via the item move functionality. The payload persists server-side until a victim, potentially with higher privileges, loads the affected resource. Refer to the Esri Portal for ArcGIS Security 2024 Update for vendor guidance on exposure and remediation.

Detection Methods for CVE-2024-25709

Indicators of Compromise

  • Portal item metadata or location fields containing HTML tags such as <script>, <img onerror=...>, or javascript: URIs.
  • Unexpected outbound HTTP requests from user browsers to attacker-controlled domains following portal page loads.
  • Portal audit logs showing item move operations from low-privilege accounts targeting shared or high-visibility content.

Detection Strategies

  • Review Esri Portal for ArcGIS content and item metadata for HTML or script markup that should not appear in location strings or descriptive fields.
  • Correlate authentication events with item modification events to identify suspicious accounts performing repeated move or edit actions.
  • Deploy web application firewall rules that flag stored payloads containing scripting primitives in ArcGIS REST API request bodies.

Monitoring Recommendations

  • Enable verbose audit logging in Portal for ArcGIS and forward events to a centralized SIEM for retention and correlation.
  • Monitor browser-side Content Security Policy (CSP) violation reports if CSP headers are configured on the portal.
  • Alert on newly created or modified items containing suspicious character sequences such as onerror=, onload=, or encoded script fragments.

How to Mitigate CVE-2024-25709

Immediate Actions Required

  • Upgrade Esri Portal for ArcGIS to the version identified in the vendor security advisory addressing this issue.
  • Audit existing portal items for suspicious content in location, title, and description fields; remove or sanitize offending entries.
  • Rotate session tokens and review administrator activity if stored payloads are discovered in production.

Patch Information

Esri published remediation guidance in the Portal for ArcGIS Security 2024 Update 1. Administrators running versions 10.8.1 through 11.2 should apply the referenced security patches and follow the vendor's upgrade path.

Workarounds

  • Restrict portal write access to trusted user roles until patches are applied.
  • Enforce a strict Content Security Policy that disallows inline scripts and untrusted script sources on portal endpoints.
  • Configure a web application firewall to inspect and block script markup in ArcGIS item metadata submissions.
bash
# Example CSP header to reduce stored XSS impact
Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.