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-46960 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 payload executes in a victim's browser when they visit the page rendering the affected field.
The flaw affects both the on-premises distribution and the AEM Cloud Service. Exploitation requires authentication and user interaction, but the scope change allows attacker-controlled script to run in the context of other users browsing the compromised page.
Critical Impact
Authenticated attackers can persist JavaScript in AEM form fields, enabling session theft, credential harvesting, and administrative action hijacking against users who view the content.
Affected Products
- Adobe Experience Manager 6.5.22 and earlier (on-premises)
- Adobe Experience Manager Cloud Service (affected releases per APSB25-48)
- AEM form components rendering unsanitized user input
Discovery Timeline
- 2025-06-10 - CVE-2025-46960 published to the National Vulnerability Database (NVD)
- 2025-06-10 - Adobe publishes Security Advisory APSB25-48
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46960
Vulnerability Analysis
The vulnerability is a stored (persistent) XSS flaw in Adobe Experience Manager form handling. AEM accepts attacker-supplied content in form fields without applying sufficient output encoding before rendering the data back into HTML responses. When another user loads a page containing the tainted field, the browser parses the injected markup as executable script.
Because the payload is stored server-side within AEM content repositories, every subsequent request for the affected page replays the attack. The scope change in the CVSS vector reflects that script executes outside the vulnerable component, in the browser security context of victim users who may hold higher privileges than the attacker.
Stored XSS in a content management platform like AEM is impactful because authors, reviewers, and administrators routinely preview and edit content, exposing privileged sessions to the injected payload.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. AEM form field processing fails to encode or sanitize HTML control characters such as <, >, and quotation marks before writing the stored value into the Document Object Model (DOM). Context-aware output encoding (HTML body, attribute, JavaScript, URL) is not applied consistently at the rendering layer.
Attack Vector
An attacker with low-privileged authenticated access to an AEM authoring environment submits a crafted payload through a vulnerable form field. The payload persists in the Java Content Repository (JCR). When a victim navigates to the page containing the field, AEM serves the stored content and the browser executes the injected JavaScript.
Typical post-exploitation includes stealing authentication cookies, invoking authenticated AEM APIs on behalf of the victim, modifying published content, and pivoting to administrative accounts. Exploitation requires user interaction (UI:R) and valid credentials (PR:L).
No public proof-of-concept exploit is listed in Exploit-DB, and the vulnerability is not on the CISA Known Exploited Vulnerabilities catalog.
Detection Methods for CVE-2025-46960
Indicators of Compromise
- Form field values in the JCR containing HTML tags such as <script>, <img onerror=, or <svg onload=
- Unexpected outbound requests from author or publish instances to attacker-controlled domains following page views
- AEM access.log entries showing POST requests to form submission endpoints with encoded script payloads
- New or modified content nodes authored by low-privileged accounts outside normal workflows
Detection Strategies
- Query the JCR for stored field values matching XSS signatures using JCR-SQL2 or Query Builder searches for angle brackets and event handlers
- Enable Content Security Policy (CSP) reporting and alert on script-src violations originating from AEM-served pages
- Review Dispatcher and web server logs for form POST bodies containing script fragments or data URIs
- Correlate authoring activity from low-privileged accounts with subsequent page views by administrators
Monitoring Recommendations
- Instrument browser-side CSP violation reports to a centralized logging pipeline for triage
- Baseline normal form submission payload patterns and alert on deviations containing HTML markup
- Monitor AEM audit logs for content modifications in production authoring environments
- Track user-agent and IP anomalies on form submission endpoints to identify automated injection attempts
How to Mitigate CVE-2025-46960
Immediate Actions Required
- Apply the Adobe security update referenced in Adobe Security Advisory APSB25-48 to upgrade AEM beyond version 6.5.22
- Audit JCR content for existing stored payloads and remove any malicious field values
- Rotate session tokens and credentials for authoring users who may have viewed compromised pages
- Restrict authoring access to the minimum set of users required for content operations
Patch Information
Adobe addressed the vulnerability in the updates documented in APSB25-48. Customers running AEM 6.5.22 or earlier should upgrade to the fixed service pack identified in the advisory. AEM Cloud Service customers receive the fix through the managed release channel. Refer to the Adobe Security Advisory APSB25-48 for exact fixed versions.
Workarounds
- Deploy a Content Security Policy restricting script-src to trusted origins to limit injected script execution
- Configure Dispatcher rules to filter HTML control characters from form submission parameters where feasible
- Reduce the number of accounts holding author or contributor privileges until patching completes
- Enforce review workflows that validate stored field content before publishing to live sites
# Example Content Security Policy header enforced at the Dispatcher or web server
Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; report-uri /csp-report"
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

