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-46999 Overview
Adobe Experience Manager (AEM) versions 6.5.22 and earlier contain a stored Cross-Site Scripting (XSS) vulnerability [CWE-79]. A low-privileged authenticated attacker can inject malicious JavaScript into vulnerable form fields. The payload executes in a victim's browser when they load the page containing the affected field. The flaw affects both on-premises AEM deployments and AEM Cloud Service.
Adobe addressed the issue in security bulletin APSB25-48. The vulnerability requires authentication and user interaction, but exploitation can cross security boundaries because the stored payload affects any user rendering the compromised content.
Critical Impact
Attackers with low-privileged author access can store JavaScript in form fields and execute code in the browsers of content consumers and administrators.
Affected Products
- Adobe Experience Manager (on-premises) versions 6.5.22 and earlier
- Adobe Experience Manager Cloud Service (AEM CS)
- AEM Forms component (vulnerable form field handling)
Discovery Timeline
- 2025-06-10 - CVE-2025-46999 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46999
Vulnerability Analysis
The vulnerability is a stored XSS flaw in Adobe Experience Manager form field processing. AEM accepts user-supplied content into form fields without applying sufficient output encoding or input sanitization. The injected script persists in the AEM content repository and executes whenever a victim browses to the page that renders the field.
Because the payload is stored server-side, the attacker does not need to deliver a crafted link. Any user who views the affected page triggers execution within the application's origin. The scope change in the attack metrics reflects that executed script can act against resources beyond the author's own privileges, including administrative sessions.
Exploitation requires an authenticated account with permission to edit form content. In practice this includes content authors, editors, and other low-privileged roles common in large AEM deployments.
Root Cause
The root cause is improper neutralization of input during web page generation. AEM renders user-controlled values from form fields without escaping HTML or JavaScript control characters. The content repository stores the raw payload, and the rendering layer emits it directly into the response HTML.
Attack Vector
An attacker authenticates to AEM with author or editor privileges. The attacker then crafts a form field value containing a JavaScript payload such as an <img onerror=...> tag or an inline <script> block. After saving, the payload is stored in the Java Content Repository (JCR). When a victim loads the published or preview page, the browser parses the attacker-controlled markup and executes the script in the AEM origin. The script can read session cookies, submit requests on behalf of the victim, or alter page content.
No public proof-of-concept exploit code is available. See the Adobe Security Advisory APSB25-48 for vendor-provided technical details.
Detection Methods for CVE-2025-46999
Indicators of Compromise
- Form field values in the JCR containing <script>, javascript:, or inline event handlers such as onerror, onload, or onclick
- Unexpected outbound HTTP requests from author or publish instances to attacker-controlled domains
- AEM audit log entries showing form edits from accounts that rarely modify content
- Anomalous session activity following page views, including token exfiltration or unexpected privilege changes
Detection Strategies
- Query the JCR for persisted field values matching XSS signatures using Query Builder or JCR-SQL2
- Review access.log and request.log entries for suspicious form submissions preceded by low-privileged authentication
- Correlate browser Content Security Policy (CSP) violation reports with specific AEM page paths
- Baseline normal author activity and alert on rapid or bulk form edits from a single account
Monitoring Recommendations
- Enable CSP in report-only mode to surface injected inline scripts before enforcement
- Forward AEM audit, access, and error logs to a centralized SIEM for correlation
- Monitor dispatcher caches for cached pages containing script tags in unexpected content fields
- Track author account creation and permission changes to limit lateral abuse
How to Mitigate CVE-2025-46999
Immediate Actions Required
- Apply the Adobe Experience Manager Service Pack referenced in APSB25-48 to upgrade beyond version 6.5.22
- Audit author and editor accounts and remove unused or over-privileged users
- Scan the JCR for existing stored payloads in form field properties and remove any malicious content
- Invalidate active sessions after patching to drop any hijacked tokens
Patch Information
Adobe released fixed builds in security bulletin APSB25-48. AEM Cloud Service customers receive the fix through Adobe's managed update channel. On-premises operators of AEM 6.5 must install the Service Pack that supersedes 6.5.22. Review the vendor advisory for exact build numbers and installation guidance.
Workarounds
- Restrict form editing permissions to a minimal set of trusted authors until patching completes
- Deploy a strict Content Security Policy that blocks inline scripts on published pages
- Place a Web Application Firewall (WAF) rule in front of AEM to filter obvious XSS payloads in form submissions
- Enable AEM's dispatcher filters to reject requests containing script-like characters in form field parameters
# Example dispatcher filter rule to drop requests containing script tags in form fields
/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

