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-47004 Overview
CVE-2025-47004 is a stored Cross-Site Scripting (XSS) vulnerability affecting 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 a victim's browser when they visit the page containing the compromised field. The flaw is classified under [CWE-79] (Improper Neutralization of Input During Web Page Generation). Adobe published remediation guidance in Adobe Security Advisory APSB25-48.
Critical Impact
Authenticated attackers can persistently inject JavaScript into AEM-rendered pages, enabling session hijacking, credential theft, and unauthorized actions executed under the victim's browser context.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premise)
- Adobe Experience Manager AEM Cloud Service (affected releases per APSB25-48)
- AEM form components that render user-controlled field values
Discovery Timeline
- 2025-06-10 - CVE-2025-47004 published to NVD
- 2025-06-10 - Adobe released Security Advisory APSB25-48
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-47004
Vulnerability Analysis
The vulnerability resides in how Adobe Experience Manager handles input submitted to form fields. User-supplied content is stored server-side and later rendered without sufficient output encoding. When a victim loads a page containing the attacker-controlled field, the browser interprets the injected markup as executable JavaScript.
Because the payload is persisted, every user who visits the affected page is exposed. The scope change reflected in the CVSS vector indicates that script execution can affect resources beyond the vulnerable component, such as the authoring console or linked applications sharing the same origin trust.
Exploitation requires an authenticated account with low privileges, which maps to common AEM roles including content contributors and form editors. User interaction is required for the payload to trigger.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. AEM form components fail to sanitize or encode HTML special characters before storing or rendering field values. Script tags, event handler attributes, and JavaScript URIs are preserved in the response body and executed by the browser's HTML parser.
Attack Vector
An attacker with a low-privileged AEM account authors or edits a form, injecting a JavaScript payload into a vulnerable field. The content is saved to the AEM repository. When another user — including a privileged administrator — browses to the page that renders the field, the script executes in that user's session.
Typical post-exploitation actions include stealing authentication cookies, performing actions as the victim through CSRF-style requests to AEM REST endpoints, or pivoting to deliver secondary payloads. No verified public proof-of-concept code is available for CVE-2025-47004. Refer to Adobe Security Advisory APSB25-48 for vendor-published technical details.
Detection Methods for CVE-2025-47004
Indicators of Compromise
- Form field values in the AEM Java Content Repository (JCR) containing <script>, onerror=, onload=, or javascript: strings
- Unexpected outbound requests from authenticated AEM user browsers to attacker-controlled domains
- Modifications to form components by low-privileged accounts outside of normal content workflows
- Access log entries showing POSTs to /libs/granite/* or /content/forms/* paths with HTML-encoded script payloads
Detection Strategies
- Scan the AEM repository for stored properties containing HTML or JavaScript syntax within fields expected to hold plain text
- Review audit logs for form edits performed by non-privileged users, especially outside business hours
- Deploy a web application firewall rule to flag requests containing script tags or event handlers submitted to form endpoints
Monitoring Recommendations
- Enable AEM access logging and forward events to a centralized SIEM for correlation with user authentication activity
- Monitor browser-side Content Security Policy (CSP) violation reports from AEM-rendered pages
- Track changes to form component configurations using AEM's version history and alert on anomalies
How to Mitigate CVE-2025-47004
Immediate Actions Required
- Upgrade on-premise Adobe Experience Manager deployments to the version specified in APSB25-48
- Verify AEM Cloud Service instances are running the patched release channel
- Audit low-privileged user accounts and remove unused or dormant form-editing permissions
- Review existing form field content for stored script payloads and remove any identified entries
Patch Information
Adobe released fixed builds addressing CVE-2025-47004. Customers running AEM 6.5.22 or earlier should apply the service pack referenced in Adobe Security Advisory APSB25-48. AEM Cloud Service customers receive the fix through Adobe-managed updates.
Workarounds
- Apply strict Content Security Policy headers that disallow inline scripts on AEM-rendered pages
- Restrict form editing permissions to trusted content authors through AEM role-based access control
- Deploy a reverse proxy or WAF rule set that filters script tags and event handler attributes from form submissions
# Example Content Security Policy header for AEM dispatcher
# Add to the dispatcher or front-end web server configuration
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.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

