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-47077 Overview
CVE-2025-47077 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 affected field. The flaw is tracked under CWE-79 and requires user interaction to trigger. Adobe addressed the issue in security bulletin APSB25-48.
Critical Impact
Authenticated attackers with low privileges can inject persistent JavaScript that runs in the context of any user who views the affected AEM page, enabling session theft, content manipulation, or targeted phishing against site administrators and visitors.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier
- Adobe Experience Manager Cloud Service (affected releases per APSB25-48)
- On-premises AEM deployments running vulnerable form components
Discovery Timeline
- 2025-06-10 - CVE-2025-47077 published to the National Vulnerability Database
- 2025-06-10 - Adobe releases security bulletin APSB25-48
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-47077
Vulnerability Analysis
The vulnerability is a stored XSS flaw in AEM form field handling. AEM fails to properly sanitize or encode attacker-supplied input before persisting it and rendering it back to users. Because the payload is stored server-side, every subsequent visitor to the affected page receives and executes the malicious script.
Exploitation requires an authenticated account with low privileges, such as an author or contributor role capable of editing form content. The impact scope is changed, meaning script execution can affect resources beyond the vulnerable component's original security context. User interaction is required, as a victim must load the affected page for the payload to fire.
Refer to the Adobe Security Bulletin APSB25-48 for authoritative technical details.
Root Cause
The root cause is insufficient input validation and output encoding on form field values within AEM authoring components. User-supplied content is stored in the repository and later reflected into the rendered HTML without contextual escaping, allowing attacker-controlled markup and script tags to survive to the browser.
Attack Vector
An attacker authenticates to AEM with a low-privileged account and edits a form component or submits data into a vulnerable field. The malicious JavaScript is persisted in the AEM content repository. When any user, including higher-privileged administrators, browses the page containing the field, their browser parses and executes the injected script under the origin of the AEM site.
No verified public exploit code is available for this vulnerability. Describing the injection mechanism in prose: an attacker submits a payload similar to a <script> element or an event handler embedded in a form value, which AEM stores verbatim and later renders inside the DOM of the published or preview page.
Detection Methods for CVE-2025-47077
Indicators of Compromise
- Form field values in the AEM repository containing HTML tags, <script> fragments, or JavaScript event handlers such as onerror, onload, or onmouseover
- Unexpected outbound HTTP requests from author or publish instances to attacker-controlled domains when rendering form pages
- Author-account activity that edits form components outside normal content workflows
- Browser Content Security Policy (CSP) violations reported on pages hosting AEM forms
Detection Strategies
- Query the AEM JCR repository for form component properties containing <, >, javascript:, or on\w+= patterns
- Review AEM access logs for POST requests to form authoring endpoints originating from low-privileged accounts
- Enable and monitor CSP report-only headers on AEM-published pages to surface unexpected inline script execution
- Correlate authoring activity in error.log and request.log against expected content-editing workflows
Monitoring Recommendations
- Alert on repository writes to form component nodes that contain HTML control characters
- Track anomalous session activity for accounts with author or contributor roles
- Monitor DOM-level telemetry on published AEM properties for script injection artifacts
- Ingest AEM logs into a centralized analytics platform to detect payload persistence across environments
How to Mitigate CVE-2025-47077
Immediate Actions Required
- Apply the updates referenced in Adobe Security Bulletin APSB25-48 to all AEM 6.5.x on-premises instances and confirm Cloud Service instances are on a fixed release
- Audit existing form component content for injected HTML or JavaScript and remove malicious values from the JCR
- Rotate credentials for any author accounts that show unexplained editing activity
- Restrict form authoring permissions to the minimum set of trusted users
Patch Information
Adobe published fixes in security bulletin APSB25-48 covering AEM 6.5.23 and later, as well as corresponding AEM Cloud Service releases. Administrators should follow the vendor guidance in the APSB25-48 advisory to determine the applicable service pack or cumulative fix pack for their deployment.
Workarounds
- Apply a strict Content Security Policy on published AEM sites to block inline script execution
- Deploy a Web Application Firewall (WAF) rule set that filters HTML and script payloads in form submission parameters
- Temporarily disable or restrict access to vulnerable form components until patching completes
- Enforce input validation at the dispatcher layer to reject requests containing script markup
# Example dispatcher filter to reject script-like payloads in form POSTs
/0100 { /type "deny" /method "POST" /url "*/form/*" /query "*<script*" }
/0101 { /type "deny" /method "POST" /url "*/form/*" /query "*javascript:*" }
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

