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-46844 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 payload executes in a victim's browser when they visit a page that renders the compromised field.
The flaw affects both on-premise AEM installations and AEM Cloud Service deployments. Adobe addressed the issue in security bulletin APSB25-48. Exploitation requires low privileges and user interaction, and the attack impacts data confidentiality and integrity across security scopes.
Critical Impact
Authenticated attackers can inject persistent JavaScript into AEM form fields, enabling session hijacking, credential theft, and content manipulation against any user who views the affected page.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premise)
- Adobe Experience Manager Cloud Service (AEM CS) versions prior to the APSB25-48 fix
- AEM Forms components that render user-supplied field content
Discovery Timeline
- 2025-06-10 - CVE-2025-46844 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46844
Vulnerability Analysis
The vulnerability is a stored Cross-Site Scripting flaw in Adobe Experience Manager. AEM accepts attacker-controlled input into form fields without sufficient output encoding. The malicious payload is persisted server-side and later rendered as executable script content in the browsers of users who load the affected page.
Because the scope is changed (S:C in the CVSS vector), script execution can affect resources beyond the vulnerable component. An attacker who authors or edits content in AEM can store JavaScript that runs in the context of visitors, authors, or administrators who later load the page.
The low confidentiality and integrity impact reflects that the attacker can read and modify session-scoped data available to the victim, including cookies, DOM content, and in-page CSRF tokens. There is no direct impact to service availability.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. AEM renders stored form field values into HTML without context-aware escaping. HTML, attribute, and JavaScript contexts each require distinct encoding, and the vulnerable code path fails to apply the correct encoding when the field is displayed.
Attack Vector
Exploitation proceeds in two stages. First, an authenticated low-privileged user submits a crafted payload into a vulnerable AEM form field. The payload is stored in the AEM repository (JCR) without proper sanitization.
Second, when any user navigates to a page that renders the affected field, the browser parses the stored HTML and executes the injected script. The attacker can then exfiltrate session tokens, perform actions as the victim, or pivot into content-authoring workflows. Refer to the Adobe Security Advisory APSB25-48 for component-specific technical details.
Detection Methods for CVE-2025-46844
Indicators of Compromise
- Form field values in the JCR containing <script>, javascript:, onerror=, onload=, or encoded script fragments
- Outbound requests from author or publish instances to unexpected external hosts referenced by injected payloads
- Unexpected content modifications performed by low-privileged author accounts in AEM audit logs
- Anomalous POST requests to AEM form endpoints with HTML-encoded or Unicode-escaped script content
Detection Strategies
- Scan the AEM content repository for stored strings matching XSS payload signatures across form-related node properties
- Review Dispatcher and web server logs for form submissions containing script tags or event-handler attributes
- Correlate authentication events for low-privileged authors with subsequent content edits on high-traffic pages
- Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution attempts
Monitoring Recommendations
- Enable AEM access and audit logging for all form submission and content modification endpoints
- Forward AEM, Dispatcher, and WAF telemetry to a centralized analytics platform for correlation
- Alert on CSP violation reports originating from AEM-hosted pages
- Monitor for new or modified components that render user-controlled data without the xssProtect or encodeForHTML wrappers
How to Mitigate CVE-2025-46844
Immediate Actions Required
- Apply the Adobe Experience Manager updates referenced in Adobe Security Advisory APSB25-48
- Audit AEM user accounts and remove unnecessary author or form-editing privileges
- Review all stored form field content for existing injected payloads and remediate affected nodes
- Enforce a restrictive Content Security Policy on AEM-rendered pages to limit inline script execution
Patch Information
Adobe released fixes for both on-premise AEM 6.5 (Service Pack after 6.5.22) and AEM Cloud Service. Customers should upgrade on-premise instances to the version specified in APSB25-48. AEM Cloud Service customers receive the fix through the standard managed update cycle and should verify their deployment is on a current release.
Workarounds
- Place AEM behind a web application firewall configured to block common XSS payload patterns in form submissions
- Configure AEM Dispatcher to filter request parameters containing HTML tags or script delimiters where not required
- Restrict form authoring and editing permissions to a minimal set of trusted users
- Enable strict output encoding in custom components using HTL (${properties.value @ context='html'}) rather than unescaped Sling expressions
# Example Dispatcher filter to block script tags in form POST parameters
/0100 { /type "deny" /method "POST" /url '*(<|%3C)script*' }
/0101 { /type "deny" /method "POST" /url '*javascript:*' }
# Example Content Security Policy response header for AEM pages
Content-Security-Policy: default-src 'self'; script-src 'self' 'nonce-{random}'; object-src 'none'; base-uri '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

