CVE-2026-31833: Umbraco.Cms Cross-Site Scripting Vulnerability
MODERATECVE-2026-31833 is a MODERATE (CVSS 6.7) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Umbraco.Cms libraries in the NuGet ecosystem. The issue involves umbraco has stored xss in ufm rendering pipeline via permissive dompurify attribute filtering. Remediation is available by upgrading affected packages to version 16.5.1, 17.2.2.
CVE-2026-31833 at a Glance
Security Impact
CVSS: 6.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L).
How to Fix CVE-2026-31833
To remediate this vulnerability, upgrade all affected Umbraco.Cms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Umbraco.Cms to 16.5.1
Upgrade Umbraco.Cms to 17.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Umbraco.Cms
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-31833, inspect your project dependencies for Umbraco.Cms:
inspect dependencies for Umbraco.Cms
Analyze the terminal output to locate any version of Umbraco.Cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.5.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Umbraco.Cms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-31833 Affected Umbraco.Cms Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Umbraco.Cms
|
NuGet |
≥ 16.2.0
< 16.5.1
|
16.5.1
|
|
Umbraco.Cms
|
NuGet |
≥ 17.0.0
< 17.2.2
|
17.2.2
|
References
Frequently Asked Questions
What is CVE-2026-31833?
Which Umbraco.Cms versions are affected?
What version fixes CVE-2026-31833?
Is Umbraco.Cms affected?
What is the CVSS score of CVE-2026-31833?
What CWE is associated with CVE-2026-31833?
How can I check NuGet dependencies for CVE-2026-31833?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vrqc-59mw-qqg7",
"modified" : "2026-03-11T14:54:00Z",
"published" : "2026-03-11T14:54:00Z",
"aliases" : [ "CVE-2026-31833" ],
"summary" : "Umbraco has Stored XSS in UFM Rendering Pipeline via Permissive DOMPurify Attribute Filtering",
"details" : "### Description\nAn authenticated backoffice user with access to Settings can inject malicious HTML into property type descriptions. Due to an overly permissive `attributeNameCheck` configuration (/.+/) in the UFM DOMPurify instance, event handler attributes such as onclick and onload, when used within Umbraco web components (`umb-*`, `uui-*`, `ufm-*`) were not filtered.\n\n### Impact\nAs property type descriptions support Markdown/HTML via the UFM rendering pipeline, injected event handlers are rendered in the backoffice interface, resulting in a stored XSS affecting other backoffice users.\n\n### Patches\nThe issue is patched in 16.5.1 and 17.2.2.\n\n### Workarounds\nThere is no workaround other than upgrading.\n\n### References\nhttps://docs.umbraco.com/umbraco-cms/reference/umbraco-flavored-markdown",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Umbraco.Cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.2.0"
}, {
"fixed" : "16.5.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Umbraco.Cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0"
}, {
"fixed" : "17.2.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 17.2.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/umbraco/Umbraco-CMS/security/advisories/GHSA-vrqc-59mw-qqg7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-31833"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/umbraco/Umbraco-CMS"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-11T14:54:00Z",
"nvd_published_at" : "2026-03-10T22:16:21Z"
}
}