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-46918 Overview
CVE-2025-46918 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 the browser of any victim who later views the affected page. The flaw is categorized under CWE-79 and requires user interaction to trigger. Adobe addressed the issue in security bulletin APSB25-48.
Critical Impact
Authenticated attackers can persist malicious scripts in AEM form fields, enabling session hijacking, credential theft, and content defacement against users browsing the affected pages.
Affected Products
- Adobe Experience Manager (on-premise) versions 6.5.22 and earlier
- Adobe Experience Manager Cloud Service (AEM CS) affected releases
- AEM Forms components rendering user-controlled input
Discovery Timeline
- 2025-06-10 - CVE-2025-46918 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46918
Vulnerability Analysis
The vulnerability stems from improper neutralization of user-supplied input in AEM form field components. Content authors or users with low privileges can submit input that persists to the content repository without adequate sanitization or output encoding. When another user requests a page that renders the stored content, the browser interprets the attacker-controlled payload as executable JavaScript.
Because the scope metric is marked as changed, the injected script can affect resources beyond the vulnerable component, including authenticated author or publish contexts. The exploit requires network access, low privileges, and user interaction, meaning a victim must browse to the affected page. Successful execution can lead to session token theft, forced actions in the victim's session, and arbitrary DOM manipulation.
Root Cause
The root cause is missing or incomplete input validation and output encoding in form field handling [CWE-79]. AEM stores untrusted input and later emits it into HTML responses without context-aware escaping. Script content that reaches the browser executes under the same origin as the AEM application.
Attack Vector
An authenticated attacker with form submission or content authoring privileges supplies a JavaScript payload inside a vulnerable form field. The payload is written to the Java Content Repository (JCR). When a victim loads the page containing the field, the browser parses and executes the stored script. The attack is network-based and does not require elevated privileges on the AEM instance.
No verified public exploit code is available at this time. See the Adobe Security Advisory APSB25-48 for vendor-provided technical details.
Detection Methods for CVE-2025-46918
Indicators of Compromise
- Form field values in the JCR containing <script>, javascript:, onerror=, or onload= strings
- Unexpected outbound HTTP requests from author or publish instances to attacker-controlled domains
- Browser console errors or Content Security Policy violations tied to AEM-hosted pages
- Audit log entries showing form submissions from low-privileged accounts containing HTML or script tokens
Detection Strategies
- Query the JCR for stored node property values matching common XSS payload patterns across form components
- Review HTTP response bodies from AEM publish instances for unescaped user-controlled content in form rendering
- Correlate authoring actions by low-privileged users against subsequent page view telemetry for anomalous script execution
Monitoring Recommendations
- Enable AEM request and access logging on both author and publish tiers and ship events to a central analytics platform
- Deploy a web application firewall rule set to log and alert on script-like tokens submitted to form endpoints
- Monitor browser-side CSP violation reports for inline script executions originating from AEM pages
How to Mitigate CVE-2025-46918
Immediate Actions Required
- Upgrade Adobe Experience Manager on-premise to the fixed release listed in Adobe bulletin APSB25-48
- Update AEM Cloud Service instances to the current patched release channel
- Audit existing form field content for stored script payloads and remove any confirmed malicious entries
- Restrict form authoring and submission privileges to the minimum set of users required
Patch Information
Adobe published the fix in security bulletin APSB25-48. Administrators running AEM 6.5.22 or earlier must apply the vendor-supplied service pack. AEM as a Cloud Service customers receive the fix through the managed release cadence. Verify the upgrade by checking the AEM product version under the Web Console after deployment.
Workarounds
- Enforce a strict Content Security Policy that disallows inline scripts and restricts allowed script origins
- Apply dispatcher rules that filter or reject requests containing script tokens in form parameters
- Temporarily revoke form submission permissions for untrusted or low-privileged accounts until patching completes
# Example AEM Dispatcher filter to drop requests with script tokens in form fields
/0100 { /type "deny" /url '*<script*' }
/0101 { /type "deny" /url '*javascript:*' }
/0102 { /type "deny" /url '*onerror=*' }
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

