CVE-2025-46913 Overview
CVE-2025-46913 is a stored Cross-Site Scripting (XSS) vulnerability affecting Adobe Experience Manager (AEM) versions 6.5.22 and earlier, including AEM Cloud Service. A high-privileged attacker can inject malicious JavaScript into vulnerable form fields. The payload executes in a victim's browser when the victim views a page rendering the affected field. The issue is tracked under [CWE-79] and requires user interaction to trigger. Adobe published the fix in security bulletin APSB25-48. The vulnerability carries a medium severity rating due to the high privilege prerequisite, but the scope-changed impact allows the attacker to affect resources beyond the vulnerable component's security boundary.
Critical Impact
An authenticated attacker with elevated AEM privileges can persist JavaScript payloads that execute against any user browsing the affected content, enabling session theft, content defacement, and lateral actions in the victim's browser context.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premises)
- Adobe Experience Manager Cloud Service
- AEM form component rendering paths that accept unsanitized field input
Discovery Timeline
- 2025-06-10 - CVE-2025-46913 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46913
Vulnerability Analysis
The flaw is a stored Cross-Site Scripting (XSS) issue in AEM form field handling. Attacker-supplied input is persisted server-side and later reflected into rendered HTML without adequate output encoding. When a victim navigates to a page containing the poisoned field, the injected script executes under the origin of the AEM instance. The attacker must already hold high privileges within AEM, such as an author or administrative role, which limits mass exploitation. However, the scope-changed nature of the flaw means the executed script can affect users outside the trust boundary of the compromised component, including content consumers on published sites.
Root Cause
The root cause is improper neutralization of input during web page generation, classified as [CWE-79]. AEM stores form field values submitted by privileged users and later renders them into the DOM without applying context-aware HTML entity encoding. Any script tags or JavaScript event handlers in the stored value survive persistence and become active markup on retrieval.
Attack Vector
Exploitation requires network access to an AEM authoring interface and an authenticated session with elevated privileges. The attacker submits a crafted payload into a vulnerable form field. The payload is written to the JCR content repository. When any other user, including lower-privileged authors or end users on the published channel, loads the page referencing the field, the browser parses the malicious markup and executes the script. The attack yields session token access, forced navigation, and arbitrary DOM manipulation in the victim context. See the Adobe Security Advisory APSB25-48 for component-level detail.
Detection Methods for CVE-2025-46913
Indicators of Compromise
- Form field values in the JCR repository containing <script> tags, javascript: URIs, or DOM event handlers such as onerror= and onload=.
- AEM access logs showing authenticated POST requests to authoring endpoints with HTML or JavaScript payloads in form parameters.
- Unexpected outbound requests from user browsers to attacker-controlled domains after loading AEM-rendered pages.
Detection Strategies
- Query the AEM content repository for stored node properties containing script markup or encoded script fragments.
- Enable and review the AEM audit log to correlate content modifications by privileged accounts with subsequent user-agent anomalies.
- Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution originating from AEM-rendered pages.
Monitoring Recommendations
- Monitor privileged AEM account activity, especially edits to form components, for atypical hours or unusual source IPs.
- Alert on browser telemetry showing script execution from AEM origins that violate an established CSP baseline.
- Track failed and successful authentication events against AEM authoring instances for privilege abuse patterns.
How to Mitigate CVE-2025-46913
Immediate Actions Required
- Apply the Adobe security update referenced in APSB25-48 to all AEM 6.5.x instances and confirm Cloud Service instances are on a fixed release.
- Audit privileged AEM accounts and revoke access for users who do not require author or administrator roles.
- Inspect existing form component content for stored script payloads and remove any tainted values.
Patch Information
Adobe addressed the vulnerability in the AEM 6.5 Service Pack referenced by security bulletin APSB25-48 and in current AEM Cloud Service releases. Administrators running AEM 6.5.22 or earlier should upgrade to the fixed Service Pack version. Cloud Service customers receive the fix through the standard release channel.
Workarounds
- Restrict authoring access to a minimal set of trusted administrators until the patch is applied.
- Enforce a strict Content Security Policy that blocks inline scripts on AEM-published pages to reduce exploit impact.
- Place the AEM author instance behind a reverse proxy that filters HTML and JavaScript patterns in form field submissions.
# Configuration example: strict CSP header for AEM dispatcher
Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

