CVE-2019-9874 — Sitecore CMS and Experience Platform (XP) Deserialization Vulnerability

CVE-2019-9874

Sitecore XP — Unauthenticated .NET Deserialization RCE via Sitecore.Security.AntiCSRF

What is Sitecore Experience Platform?

Sitecore CMS and Experience Platform (XP) is an enterprise .NET-based content management and digital marketing platform used by large organizations to run public-facing websites, personalized marketing campaigns, and customer experience portals.

Overview

CVE-2019-9874 is a critical (CVSS 9.8) .NET deserialization vulnerability (CWE-502) in Sitecore's Sitecore.Security.AntiCSRF module. It allows a completely unauthenticated attacker to achieve remote code execution by submitting a malicious serialized .NET object in the __CSRFTOKEN HTTP POST parameter — one of the more severe possible outcomes for a web application, requiring no valid session or credentials whatsoever.

Affected Versions

Product Vulnerable Fixed
Sitecore XP / CMS Versions predating the 2019 AntiCSRF security patch Patched per Sitecore knowledge-base article KB0334035

Technical Details

The AntiCSRF module deserializes attacker-supplied data from the __CSRFTOKEN POST field using unsafe .NET deserialization, without validating that the payload is a legitimate, expected object type. This is the classic insecure-deserialization pattern (CWE-502): by crafting a serialized "gadget chain" object using known .NET deserialization gadgets, an attacker can cause arbitrary code to execute the moment the server deserializes the malicious payload — before any authentication check is even reached.

Discovery

Sitecore published fix guidance in knowledge-base article KB0334035; the underlying deserialization pattern in .NET applications was extensively studied by the broader application-security research community around this period.

Exploitation Context

Despite being disclosed in 2019, this vulnerability saw renewed, confirmed active exploitation years later, leading CISA to add it to the KEV catalog in March 2025 — security researchers publishing analyses of legacy Sitecore deployments around that time found many installations still unpatched and reachable from the internet, making this an example of an old bug staying dangerous far past its original disclosure.

Remediation

  1. Apply Sitecore's patch referenced in KB0334035 (or upgrade to a current, supported Sitecore XP release) without delay.
  2. Because this bug predates many organizations' current Sitecore deployments, explicitly verify patch status rather than assuming a "modern" instance is unaffected.
  3. Restrict direct internet access to Sitecore's administrative and API endpoints where feasible.
  4. Monitor for unusual POST requests containing large or unusual __CSRFTOKEN values.
  5. Given the multi-year gap between disclosure and confirmed exploitation, treat any internet-facing legacy Sitecore instance as high risk until confirmed patched.

Key Details

PropertyValue
CVE ID CVE-2019-9874
Vendor / Product Sitecore — CMS and Experience Platform (XP)
NVD Published2019-05-31
NVD Last Modified2025-11-07
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-502 find similar ↗
CISA KEV Added2025-03-26
CISA KEV Deadline2025-04-16
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2025-04-16. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Timeline

DateEvent
2019-05-31CVE published; Sitecore issued fix guidance in KB0334035
2025-03-26Added to CISA Known Exploited Vulnerabilities catalog
2025-04-16CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2019-9874 Vulnerability Database
CISA KEV Catalog Entry US Government
Sitecore Knowledge Base — KB0334035 Vendor Advisory