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-46905 Overview
Adobe Experience Manager (AEM) versions 6.5.22 and earlier contain a stored Cross-Site Scripting (XSS) vulnerability [CWE-79]. A low-privileged attacker can inject malicious JavaScript into vulnerable form fields. The script executes in a victim's browser when the user visits the page containing the compromised field. Both on-premise AEM 6.5.x and AEM Cloud Service deployments are affected. Adobe addressed the issue in security bulletin APSB25-48.
Critical Impact
Successful exploitation allows an authenticated attacker to execute arbitrary JavaScript in victim browsers, enabling session hijacking, credential theft, and content manipulation across the AEM-rendered page.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premise)
- Adobe Experience Manager Cloud Service (AEM CS) prior to the APSB25-48 fix
- AEM authoring and publishing instances exposing affected form components
Discovery Timeline
- 2025-06-10 - CVE-2025-46905 published to the National Vulnerability Database
- 2025-06-10 - Adobe publishes security bulletin APSB25-48 with remediation guidance
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46905
Vulnerability Analysis
The flaw is a stored Cross-Site Scripting weakness in AEM form field handling. User-controlled input submitted through specific form fields is persisted without adequate output encoding. When a legitimate user later renders the affected page, the AEM content delivery layer returns the stored payload inline with trusted HTML. The browser interprets the attacker-supplied content as executable JavaScript in the context of the AEM origin.
Because the vulnerability has a scope change component, injected scripts can reach resources outside the vulnerable component's security boundary. The required low-privilege authentication limits exploitation to users with form authoring or submission rights, but AEM deployments commonly grant such rights to marketing, editorial, or external contributor roles. User interaction is required: a victim must browse to the page hosting the tainted field.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. Form field values are stored in the Java Content Repository (JCR) and later rendered without context-aware escaping for the HTML or JavaScript sink. Any client-side sanitization is bypassed because the payload is persisted server-side and re-served to all page visitors.
Attack Vector
An authenticated low-privileged user submits a crafted payload (for example, an HTML event handler or <script> tag) through a vulnerable form field in the AEM authoring interface. AEM stores the raw value. When any viewer, including administrators, loads the published or previewed page, the browser executes the injected script in the AEM site's origin. The attacker can read session tokens, call internal AEM APIs on behalf of the victim, deface content, or pivot to CSRF against administrative endpoints.
No verified public proof-of-concept code is available. Refer to the Adobe Security Bulletin APSB25-48 for vendor technical details.
Detection Methods for CVE-2025-46905
Indicators of Compromise
- Form field values in the JCR containing <script>, javascript:, onerror=, onload=, or other HTML event handler syntax
- Unexpected outbound requests from browser sessions of AEM authors or site visitors to attacker-controlled domains
- Author account activity creating or modifying form components outside normal editorial hours or workflows
Detection Strategies
- Query the JCR for stored content properties matching XSS payload patterns using AEM's QueryBuilder or JCR-SQL2
- Review access logs for POST requests to form submission endpoints followed by anomalous GET requests referencing the same content paths
- Correlate Content Security Policy (CSP) violation reports with AEM page URLs to surface unexpected inline script execution
Monitoring Recommendations
- Enable and centralize AEM access and audit logs covering /content, /libs, and form submission paths
- Monitor authoring role assignments and alert on new accounts granted form-editing permissions
- Deploy browser-side CSP reporting to a central collector and alert on inline-script violations originating from AEM-hosted pages
How to Mitigate CVE-2025-46905
Immediate Actions Required
- Apply the Adobe-provided updates referenced in APSB25-48 to AEM 6.5.x and ensure Cloud Service instances are on the fixed release
- Audit all low-privileged author and contributor accounts and revoke rights that are not required
- Scan existing form content for stored payloads and sanitize or remove suspicious entries
Patch Information
Adobe released fixed builds for AEM 6.5 (versions after 6.5.22) and updated AEM Cloud Service as part of security bulletin APSB25-48. On-premise operators should upgrade to AEM 6.5 Service Pack 23 or later. Cloud Service customers receive the fix through the standard Adobe-managed release channel. See the vendor advisory for exact build numbers.
Workarounds
- Enforce a restrictive Content Security Policy that disallows inline scripts and untrusted script sources on AEM-rendered pages
- Apply the AEM Dispatcher filter rules to block requests containing suspicious script tokens in form parameters
- Restrict form authoring permissions to a minimal, trusted user set until patching is complete
# Example AEM Dispatcher filter to block obvious XSS payloads 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

