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-2025-46860 Overview
CVE-2025-46860 is a stored Cross-Site Scripting (XSS) vulnerability affecting Adobe Experience Manager (AEM) versions 6.5.22 and earlier. A low-privileged attacker can inject malicious JavaScript into vulnerable form fields. When a victim browses to a page containing the tainted field, the payload executes in the victim's browser under the AEM origin. The flaw is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). Adobe published the fix in security advisory APSB25-48.
Critical Impact
Attackers with low privileges can persist JavaScript payloads that execute against any authenticated user viewing the affected page, enabling session theft, unauthorized actions, and content defacement within the AEM tenant.
Affected Products
- Adobe Experience Manager (on-premise) versions 6.5.22 and earlier
- Adobe Experience Manager Cloud Service (affected releases per APSB25-48)
- AEM Forms components exposing user-controlled input fields
Discovery Timeline
- 2025-06-10 - CVE-2025-46860 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46860
Vulnerability Analysis
The vulnerability is a stored XSS flaw within AEM form field handling. An authenticated attacker with low privileges submits input containing JavaScript payloads that AEM persists without adequate output encoding. When a subsequent user loads the page rendering that stored input, the browser parses and executes the injected script in the context of the AEM domain.
Because the scope is changed (S:C in the CVSS vector), the injected script can affect resources beyond the vulnerable component, including other authenticated sessions and administrative interfaces served from the same origin. User interaction is required, since the victim must navigate to the page hosting the payload.
Root Cause
The root cause is improper neutralization of user-supplied data written into HTML output. Form field values are stored and later rendered without contextual escaping suitable for the HTML, attribute, or script execution context in which they appear. This allows <script> tags and event handler attributes to survive persistence and reach the DOM.
Attack Vector
The attack requires network access to an AEM authoring or delivery instance and a low-privileged account able to submit form content. The attacker submits a crafted payload into an affected field, AEM stores the value, and any user rendering the page triggers execution. Typical payloads target session cookies, CSRF tokens, or perform authenticated requests on behalf of the victim to escalate privileges within AEM.
No public proof-of-concept exploit is available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Refer to the Adobe Security Advisory APSB25-48 for vendor-supplied technical context.
Detection Methods for CVE-2025-46860
Indicators of Compromise
- Persisted form field values containing <script>, javascript:, or DOM event handler attributes such as onerror= and onload=
- Unexpected outbound requests from browsers of AEM users to attacker-controlled domains shortly after loading authored pages
- New or modified JCR nodes under /content or /content/forms containing HTML markup in fields that should hold plain text
Detection Strategies
- Review AEM access logs for POST requests to form submission endpoints containing encoded script markers such as %3Cscript%3E or onerror%3D
- Query the Java Content Repository for property values matching HTML tag patterns in fields designed for text input
- Correlate authenticated form submissions from low-privileged accounts with subsequent script-loaded events observed in browser telemetry
Monitoring Recommendations
- Enable and centralize AEM Dispatcher and request logs, then ingest them into a SIEM for pattern matching against XSS payload signatures
- Monitor Content Security Policy (CSP) violation reports for scripts loaded from unexpected origins on AEM-served pages
- Alert on privilege changes or configuration modifications performed by user sessions immediately after form rendering
How to Mitigate CVE-2025-46860
Immediate Actions Required
- Apply the security updates listed in Adobe Security Advisory APSB25-48 to all AEM 6.5.x and Cloud Service instances
- Audit user accounts with form authoring or content submission privileges and remove unnecessary access
- Scan the JCR for existing form field values containing HTML or script markup and sanitize identified entries
Patch Information
Adobe addressed this vulnerability in the fixes documented under APSB25-48. AEM 6.5 customers must upgrade to version 6.5.23 or later. AEM Cloud Service customers receive the fix through the standard release pipeline. Consult the vendor advisory for exact build numbers and upgrade procedures.
Workarounds
- Configure a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
- Enable AEM Dispatcher filters to reject requests containing common XSS payload patterns until patching is complete
- Restrict form authoring capabilities to trusted, higher-privileged roles as a temporary compensating control
# Example Dispatcher filter to block obvious script markers in form submissions
/0100 { /type "deny" /url "*<script*" }
/0101 { /type "deny" /url "*javascript:*" }
/0102 { /type "deny" /url "*onerror=*" }
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

