Skip to main content
Mallory
MediumVulnerability

CVE-2025-27802: Stored XSS in Optimizely Episerver CMS RTE properties

Published Jul 28, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS4.8Medium · v4
EPSS0.36%31st percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
IdentifiersCVE-2025-27802CWE-79 · Improper Neutralization of Input…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

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.
Activity feed

Recent activity

3 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.