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-41240

published medium CVSS 4.0 · 6.0

DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix)

Published
23 Apr 2026, 14:54:32 UTC
Updated
23 Apr 2026, 17:21:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
cure53 — DOMPurify< 3.4.0 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Tumbleweed argocd-cliaarch64 Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-clippc64le Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-clis390x Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-clix86_64 Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-cli-bash-completionaarch64 Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-cli-bash-completionppc64le Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-cli-bash-completions390x Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
Show 5 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed argocd-cli-bash-completionx86_64 Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-cli-zsh-completionaarch64 Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-cli-zsh-completionppc64le Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-cli-zsh-completions390x Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1
SUSE / openSUSE openSUSE-Tumbleweed argocd-cli-zsh-completionx86_64 Advisory build 3.4.3-1.1 OPENSUSE-SU-2026:10888-1

Description

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions prior to 3.4.0 have an inconsistency between FORBID_TAGS and FORBID_ATTR handling when function-based ADD_TAGS is used. Commit c361baa added an early exit for FORBID_ATTR at line 1214. The same fix was not applied to FORBID_TAGS. At line 1118-1123, when EXTRA_ELEMENT_HANDLING.tagCheck returns true, the short-circuit evaluation skips the FORBID_TAGS check entirely. This allows forbidden elements to survive sanitization with their attributes intact. Version 3.4.0 patches the issue.

en · GitHub_M · 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
6.0 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
cure53 DOMPurify < 3.4.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-183 CWE-183: Permissive List of Allowed Inputs (GitHub_M · cna)
  • CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix)

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
b0250b66d1769d23a732dac2b529b9c204621d421f6a64f3b8ad8b74ecbfc063
Ingested
23 Sep 2026, 09:13:40 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