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-46954 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 the page containing the compromised field. The flaw affects both on-premise AEM deployments and the AEM Cloud Service. Adobe published the fix in security bulletin APSB25-48.
Critical Impact
Authenticated attackers can persist JavaScript in AEM form fields, enabling session theft, UI redress, and content manipulation against any user rendering the affected page.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premise)
- Adobe Experience Manager Cloud Service (affected versions per APSB25-48)
- AEM Forms components exposing user-controllable field inputs
Discovery Timeline
- 2025-06-10 - CVE-2025-46954 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46954
Vulnerability Analysis
The vulnerability is a stored XSS flaw in Adobe Experience Manager form field handling. AEM accepts attacker-supplied input into a form field without sufficient output encoding or sanitization. The injected content persists in the AEM content repository and is served to downstream users as part of normal page rendering.
Exploitation requires an authenticated user with low privileges, such as a content author. User interaction is also required: a victim must browse to the page that renders the stored payload. The scope change in the CVSS vector reflects that script execution occurs in the browser context of users outside the attacker's privilege boundary, including higher-privileged administrators.
Successful exploitation can lead to session token theft, forced actions in the victim's session, defacement of rendered content, and credential harvesting through injected forms.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. AEM stores attacker-controlled markup in a form field value and later emits it into the rendered DOM without context-appropriate escaping. HTML, attribute, or JavaScript contexts that lack encoding allow <script> tags or event handler attributes to execute.
Attack Vector
The attack path requires network access to the AEM authoring or publish interface and a valid low-privilege account. The attacker submits a form containing JavaScript payloads into a vulnerable field. The payload is persisted server-side. Any user who later loads the affected page triggers execution of the attacker's script in their browser session.
The vulnerability is described in prose only. No public proof-of-concept has been released. Refer to the Adobe Security Advisory APSB25-48 for vendor technical details.
Detection Methods for CVE-2025-46954
Indicators of Compromise
- Form field values in the AEM content repository containing <script>, javascript:, onerror=, onload=, or similar event-handler attributes
- Unexpected outbound requests from end-user browsers to attacker-controlled domains sourced from AEM-hosted pages
- Author-account activity creating or editing form components outside normal change windows
Detection Strategies
- Audit JCR (Java Content Repository) nodes for form field properties containing HTML tags or JavaScript URI schemes
- Deploy a Content Security Policy (CSP) in report-only mode and review violations originating from AEM-rendered pages
- Correlate AEM access logs with author login telemetry to identify suspicious authoring activity on form components
Monitoring Recommendations
- Alert on AEM author sessions submitting payloads containing script tags or encoded JavaScript to form field endpoints
- Monitor browser-side telemetry for script execution originating from AEM-served pages that deviates from baseline
- Track changes to AEM form packages and components through dispatcher and replication logs
How to Mitigate CVE-2025-46954
Immediate Actions Required
- Upgrade Adobe Experience Manager to the fixed version documented in Adobe Security Advisory APSB25-48
- Audit existing form field content in the JCR for previously injected scripts and remove malicious payloads
- Rotate session tokens and credentials for any accounts that may have viewed a compromised page
- Restrict author and contributor accounts to the minimum set of users required for content operations
Patch Information
Adobe addressed the stored XSS flaw in the updates listed in bulletin APSB25-48. Administrators running AEM 6.5.22 or earlier must apply the current cumulative Service Pack. AEM Cloud Service customers receive the fix through Adobe's managed update channel. Verify the installed version through the AEM Web Console after patching.
Workarounds
- Enforce a strict Content Security Policy that disables inline scripts and restricts script sources on AEM-rendered pages
- Configure the AEM Dispatcher to filter requests containing script payloads targeting form endpoints
- Apply server-side input validation and output encoding at the component level for any custom form components
- Reduce the authoring surface by removing unused form components and tightening ACLs on form field authoring paths
# Example AEM Dispatcher filter rule to block script 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

