CVE-2025-27802: Stored XSS in Optimizely Episerver CMS RTE properties
CVE-2025-27802 is a set of stored cross-site scripting vulnerabilities in Optimizely Episerver Content Management System (CMS). The issue affects Rich Text Editor (RTE) properties/text fields used in the CMS "Edit" section, where insufficient sanitization or output encoding allows an authenticated user to store arbitrary HTML/JavaScript payloads. When a user later visits the previewed page containing the malicious content, the injected script executes in that user's browser within the application context. The vulnerability requires the attacker to have at least the "WebEditor" role. Affected versions are EPiServer.CMS.Core before 11.21.4 with EPiServer.CMS.UI before 11.37.5 in the 11.x branch, and EPiServer.CMS.Core before 12.22.1 with EPiServer.CMS.UI before 11.37.3 in the 12.x branch.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an authenticated attacker to execute arbitrary JavaScript in the browser of another user who views the affected previewed page. This can enable session theft, anti-CSRF token theft, unauthorized actions performed in the victim's session, content manipulation in the browser, redirection to attacker-controlled resources, and access to sensitive data exposed to the client-side context. Impact depends on the privileges of the victim user viewing the malicious content; compromise of higher-privileged CMS users could lead to broader administrative abuse within the CMS.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict content-editing access to trusted users, especially the "WebEditor" role and any equivalent accounts able to edit RTE fields. Review and sanitize existing CMS content for malicious script payloads in RTE/text properties. Reduce exposure of preview functionality to only necessary users, monitor for suspicious content changes, and consider deploying additional server-side HTML sanitization and a restrictive Content Security Policy to reduce script execution risk. These measures are compensating controls and do not replace upgrading to fixed versions.
Remediation
Patch, then assume compromise.
Upgrade affected Optimizely Episerver CMS components to fixed versions. For 11.x, update to EPiServer.CMS.Core 11.21.4 or later and EPiServer.CMS.UI 11.37.5 or later. For 12.x, update to EPiServer.CMS.Core 12.22.1 or later and EPiServer.CMS.UI 11.37.3 or later. Ensure both the Core and UI package versions are brought to non-vulnerable releases as specified.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2025-27802 exploited in the wild?
- Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-27802?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2025-27802.
- Is there a patch for CVE-2025-27802?
- Upgrade affected Optimizely Episerver CMS components to fixed versions. For 11.x, update to EPiServer.CMS.Core 11.21.4 or later and EPiServer.CMS.UI 11.37.5 or later.
- How severe is CVE-2025-27802?
- CVE-2025-27802 has a CVSS v4 score of 4.8 (Medium) and an EPSS score of 0.36% (31st percentile) as of Sep 25, 2026.
Recent activity
3 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.