Advisory

GHSA-vrqc-59mw-qqg7

Also known as: CVE-2026-31833

Summary

Umbraco has Stored XSS in UFM Rendering Pipeline via Permissive DOMPurify Attribute Filtering

Details

Description
An 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.

Impact
As 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.

Patches
The issue is patched in 16.5.1 and 17.2.2.

Workarounds
There is no workaround other than upgrading.

References
https://docs.umbraco.com/umbraco-cms/reference/umbraco-flavored-markdown

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-11 14:54 UTC
Modified
2026-03-13 08:11 UTC

Affected packages and fixes

Umbraco.Cms

NuGet · All systems

Affected

  • introduced 16.2.0, fixed 16.5.1 (ecosystem)

Fixed versions

16.5.1

Fix

The export has no generic command for this ecosystem.

Umbraco.Cms

NuGet · All systems

Affected

  • introduced 17.0.0, fixed 17.2.2 (ecosystem)

Fixed versions

17.2.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences