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-46854 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 visit the page containing the compromised field. The flaw affects both the on-premises AEM distribution and AEM Cloud Service deployments. Adobe addressed the issue in security advisory APSB25-48.
Critical Impact
Attackers with low privileges can store malicious scripts that execute against any user, including administrators, enabling session hijacking, credential theft, and unauthorized actions in the AEM interface.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premises)
- Adobe Experience Manager Cloud Service (AEM as a Cloud Service)
- AEM Forms components that render user-supplied form field content
Discovery Timeline
- 2025-06-10 - CVE-2025-46854 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46854
Vulnerability Analysis
The vulnerability is a stored Cross-Site Scripting flaw in Adobe Experience Manager form components. AEM fails to sanitize or encode user-supplied input written to form field attributes before rendering them in authored pages. An attacker with low-level authoring or form submission privileges can store JavaScript payloads that persist in AEM content storage. When any user, including higher-privileged administrators, browses to a page containing the tainted field, the script executes under the origin of the AEM application.
Successful exploitation enables theft of session cookies, abuse of the victim's active session, and tampering with content displayed in the AEM authoring interface. User interaction is required because the victim must load the affected page. The scope-changed impact reflects that script execution crosses the trust boundary from the attacker's limited role to the victim's higher-privileged context.
Root Cause
The root cause is improper neutralization of input during web page generation in AEM form field handlers. Input written to form field properties is reflected into HTML or DOM contexts without context-appropriate output encoding, allowing attacker-controlled markup and script tags to break out of their intended data context.
Attack Vector
The attack vector is network-based and requires authentication. An attacker with low privileges, such as a content author or form submitter, stores a JavaScript payload inside a form field. The payload is persisted in the AEM repository. A privileged user later navigates to the affected page as part of normal authoring or review workflows, and the browser executes the stored script in the AEM session context.
No verified public exploit is available. The vulnerability is described in Adobe's advisory without a published proof of concept. See the Adobe Security Advisory APSB25-48 for vendor details.
Detection Methods for CVE-2025-46854
Indicators of Compromise
- Form field content in the AEM repository containing <script>, onerror, onload, or javascript: substrings that were not placed there by legitimate authoring.
- Unexpected outbound requests from authoring user browsers to attacker-controlled domains while viewing specific AEM pages.
- Audit log entries showing low-privileged accounts modifying form components outside their normal content scope.
Detection Strategies
- Query the JCR repository for form field properties containing HTML tags or JavaScript event handlers using tools such as AEM's QueryBuilder or curl against /bin/querybuilder.json.
- Deploy a Content Security Policy in report-only mode against AEM origins and review violation reports for inline script execution originating from form pages.
- Correlate web server access logs with content modification events to identify authors publishing suspicious markup before privileged users access the pages.
Monitoring Recommendations
- Monitor AEM access.log and audit.log for repeated edits to form components by non-administrative users.
- Alert on browser telemetry showing JavaScript errors, redirects, or token exfiltration attempts from /content/ and /editor.html/ paths.
- Track anomalous session activity for administrator accounts following visits to author-created form pages.
How to Mitigate CVE-2025-46854
Immediate Actions Required
- Apply the Adobe security update referenced in APSB25-48 to upgrade AEM beyond version 6.5.22.
- Audit existing form components and authored pages for stored script payloads and remove any malicious content before patching.
- Review and tighten role assignments so that only trusted users hold form authoring privileges.
Patch Information
Adobe released fixes for CVE-2025-46854 in the security update tracked by advisory APSB25-48. On-premises customers must upgrade to a service pack later than AEM 6.5.22. AEM as a Cloud Service customers receive the fix through the regular Cloud Service release channel and should confirm their environment is on the current release.
Workarounds
- Enforce a strict Content Security Policy on AEM-delivered pages to block inline script execution and limit script sources.
- Place a Web Application Firewall in front of AEM Author and Publish instances with rules that filter HTML and JavaScript patterns in form field submissions.
- Restrict access to the AEM Author instance to trusted networks and authenticated administrators via VPN or reverse proxy allowlisting.
# Example Dispatcher filter to block script-like payloads in form submissions
/0100 { /type "deny" /method "POST" /url "*.form.html*" /path "*<script*" }
/0101 { /type "deny" /method "POST" /url "*.form.html*" /path "*javascript:*" }
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

