Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-0540

published medium CVSS 4.0 · 5.3

DOMPurify XSS via Missing Rawtext Elements in SAFE_FOR_XML

Published
03 Mar 2026, 17:26:06 UTC
Updated
25 Mar 2026, 15:52:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
cure53 — DOMPurify3.1.3 through 3.3.1 · 2.5.3 through 2.5.8 · Other versions: unaffected Affected Not stated Fluid Attacks
SUSE / openSUSE openSUSE-Tumbleweed cactiaarch64 Advisory build 1.2.30+git306.82d5aef5-1.1 OPENSUSE-SU-2026:10599-1
SUSE / openSUSE openSUSE-Tumbleweed cactippc64le Advisory build 1.2.30+git306.82d5aef5-1.1 OPENSUSE-SU-2026:10599-1
SUSE / openSUSE openSUSE-Tumbleweed cactis390x Advisory build 1.2.30+git306.82d5aef5-1.1 OPENSUSE-SU-2026:10599-1
SUSE / openSUSE openSUSE-Tumbleweed cactix86_64 Advisory build 1.2.30+git306.82d5aef5-1.1 OPENSUSE-SU-2026:10599-1

Description

DOMPurify 3.1.3 through 3.3.1 and 2.5.3 through 2.5.8, fixed in commit 2726c74, contain a cross-site scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting five missing rawtext elements (noscript, xmp, noembed, noframes, iframe) in the SAFE_FOR_XML regex. Attackers can include payloads like </noscript><img src=x onerror=alert(1)> in attribute values to execute JavaScript when sanitized output is placed inside these unprotected rawtext contexts.

en · Fluid Attacks · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.3 / 10
Severity
medium
Provider
Fluid Attacks · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 6.1 medium Fluid Attacks · cna CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
cure53 DOMPurify 3.1.3 through 3.3.1 (affected · semver)2.5.3 through 2.5.8 (affected · semver)Default: unaffected Fluid Attacks · cna

Weaknesses

1
  • CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') (Fluid Attacks · cna)

References

5

Provider assertions

2

Fluid Attacks · cna

DOMPurify XSS via Missing Rawtext Elements in SAFE_FOR_XML

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
c995365a3c9242795668308c44f84359adf659f9d1cd6d5b4efbd79413a4fa7d
Ingested
23 Sep 2026, 08:59:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected