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-47020 Overview
CVE-2025-47020 is a stored Cross-Site Scripting (XSS) vulnerability in Adobe Experience Manager (AEM) versions 6.5.22 and earlier. A low-privileged attacker can inject malicious JavaScript into vulnerable form fields. The payload executes in the browser of any victim who loads the affected page. The flaw is tracked under [CWE-79] and documented in Adobe Security Advisory APSB25-48.
Critical Impact
Stored JavaScript executes in victim browsers under the AEM origin, enabling session theft, UI redress, and lateral access to authenticated AEM functionality with user interaction required.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premise)
- Adobe Experience Manager Cloud Service
- AEM form components that accept and render user-supplied field content
Discovery Timeline
- 2025-06-10 - CVE-2025-47020 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-47020
Vulnerability Analysis
The vulnerability is a stored XSS flaw affecting Adobe Experience Manager form handling. An authenticated attacker with low privileges submits crafted input containing JavaScript into form fields that AEM later renders without adequate output encoding. When another user, including a privileged editor or site visitor, loads the page containing the stored content, the browser parses the attacker payload as script.
Execution occurs within the AEM application origin. Attackers can read Document Object Model (DOM) content, exfiltrate session cookies not marked HttpOnly, forge authenticated requests against AEM REST endpoints, and manipulate rendered content. The scope change (S:C) in the CVSS vector reflects impact across the trust boundary of the hosting document.
Root Cause
The root cause is insufficient neutralization of user-supplied input during web page generation [CWE-79]. AEM form field persistence and rendering pipelines fail to encode or sanitize script-bearing content before writing it into the HTML response.
Attack Vector
Exploitation requires network access to the AEM authoring or publishing interface and a low-privileged account authorized to submit form content. The attacker stores a payload such as a script tag or event handler inside a form field. A second user must then browse to the page that renders the stored field. User interaction (UI:R) is required to trigger the script.
No verified proof-of-concept code is publicly available. Technical details are described in prose only; refer to the Adobe Security Advisory APSB25-48 for vendor guidance.
Detection Methods for CVE-2025-47020
Indicators of Compromise
- Stored form field values containing <script>, javascript:, onerror=, onload=, or encoded script delimiters within AEM content repositories.
- Unexpected outbound requests from authenticated AEM sessions to attacker-controlled domains carrying cookie or token values.
- Audit log entries showing low-privileged accounts editing or submitting content outside their normal workflow patterns.
Detection Strategies
- Query the Java Content Repository (JCR) for jcr:content nodes containing HTML event handlers or script tags in text properties.
- Deploy content security policy (CSP) violation reporting to surface inline script execution on published pages.
- Review AEM access logs for POST requests to form submission endpoints that contain URL-encoded script fragments.
Monitoring Recommendations
- Alert on browser telemetry showing script execution originating from form rendering components on AEM-hosted pages.
- Correlate authoring account activity with content changes on high-traffic published pages for anomaly review.
- Monitor web application firewall (WAF) logs for XSS signatures targeting AEM form endpoints such as /content/forms/ paths.
How to Mitigate CVE-2025-47020
Immediate Actions Required
- Apply the Adobe security update referenced in APSB25-48 to all AEM 6.5 instances.
- Audit existing form content for stored script payloads and remove or sanitize affected nodes before patching.
- Restrict form authoring privileges to vetted users and enforce multi-factor authentication on all AEM accounts.
Patch Information
Adobe addressed CVE-2025-47020 in the AEM 6.5 Service Pack referenced by advisory APSB25-48. AEM as a Cloud Service receives the fix through the managed update channel. Administrators running AEM 6.5.22 or earlier should upgrade to the fixed service pack identified in the advisory.
Workarounds
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
- Place a WAF in front of AEM with rules that block script tags and JavaScript event handlers in form submission parameters.
- Mark session cookies as HttpOnly and Secure to limit cookie theft if a payload executes before patching.
# Example CSP response header to limit inline script execution on AEM pages
Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'; report-uri /csp-report
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

