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-46843 Overview
Adobe Experience Manager (AEM) versions 6.5.22 and earlier contain a stored Cross-Site Scripting (XSS) vulnerability [CWE-79]. A low-privileged attacker can inject malicious JavaScript into vulnerable form fields. The injected script executes in a victim's browser when they visit a page containing the compromised field.
The flaw affects both AEM on-premise deployments and AEM Cloud Service instances. Adobe published the fix in security bulletin APSB25-48. The vulnerability requires attacker authentication and victim interaction, which limits mass exploitation but still enables credential theft and session hijacking in targeted scenarios.
Critical Impact
Authenticated attackers can inject persistent JavaScript into AEM form fields, enabling session theft and account takeover of users who load affected pages.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premise)
- Adobe Experience Manager Cloud Service
- Any AEM-hosted site using vulnerable form components
Discovery Timeline
- 2025-06-10 - CVE-2025-46843 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46843
Vulnerability Analysis
The vulnerability is a stored Cross-Site Scripting (XSS) flaw classified under [CWE-79]: Improper Neutralization of Input During Web Page Generation. AEM fails to sanitize user-supplied input written to certain form field properties. The input is persisted in the AEM repository and later rendered to other users without adequate output encoding.
When a victim navigates to a page containing the affected form field, the browser parses the injected markup as executable JavaScript. The script runs under the victim's origin and session context. An attacker can read cookies, exfiltrate authentication tokens, modify page content, or pivot into administrative actions if the victim holds elevated privileges.
Exploitation requires an authenticated low-privileged account with permission to edit form content. The scope change in the CVSS vector reflects that injected code executes in the victim's browser context, crossing a trust boundary from the attacker's authoring role to the viewer's session.
Root Cause
The root cause is missing or incomplete input sanitization and output encoding on form field values stored in the AEM Java Content Repository (JCR). Values that should be treated as data are instead rendered as HTML, allowing <script> tags and event-handler attributes to execute.
Attack Vector
The attack is network-based and proceeds in two stages. First, the attacker authenticates to AEM with low-privileged content-editing access and injects a crafted payload into a vulnerable form field. Second, a victim loads a page that renders the stored payload, triggering script execution. See the Adobe Security Advisory APSB25-48 for component-level technical details.
Detection Methods for CVE-2025-46843
Indicators of Compromise
- Form field values in the JCR containing <script>, javascript:, or event-handler attributes such as onerror, onload, or onmouseover.
- Unexpected outbound requests from authenticated user browsers to attacker-controlled domains following AEM page loads.
- Access logs showing content-author accounts modifying form components outside normal authoring workflows.
Detection Strategies
- Audit AEM repository content for persisted HTML or JavaScript in form field properties using JCR queries.
- Review Dispatcher and web server logs for responses containing suspicious inline script patterns on form-rendering pages.
- Correlate authoring activity in audit.log with subsequent anomalous client-side behavior reported by endpoint telemetry.
Monitoring Recommendations
- Enable Content Security Policy (CSP) reporting to surface violations caused by injected inline scripts.
- Monitor privileged AEM user sessions for signs of session token theft or credential reuse from unexpected IP addresses.
- Alert on bulk edits to form components by non-administrative accounts.
How to Mitigate CVE-2025-46843
Immediate Actions Required
- Upgrade on-premise Adobe Experience Manager to the version listed in APSB25-48 that remediates CVE-2025-46843.
- Verify AEM Cloud Service instances are running a release that includes the Adobe-supplied fix.
- Audit existing form content for already-injected payloads and remove any that are discovered.
Patch Information
Adobe addressed the vulnerability in the security update published in Adobe Security Advisory APSB25-48. Customers on AEM 6.5.22 or earlier must upgrade to the patched Service Pack. AEM Cloud Service customers receive the fix through the standard Adobe-managed release channel.
Workarounds
- Restrict content-authoring permissions so only trusted accounts can modify form components until patching is complete.
- Deploy a strict Content Security Policy that disallows inline scripts and restricts script sources to known origins.
- Place a web application firewall rule in front of AEM to filter requests containing script tags targeting form field endpoints.
# Example CSP header to block inline script execution on AEM-delivered pages
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

