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-2024-21541

published medium CVSS 4.0 · 6.9

dom-iterator: Arbitrary Code Execution in dom-iterator via Unsafe Function Constructor Use

Title from Red Hat VEX

Published
13 Nov 2024, 05:00:12 UTC
Updated
16 Jan 2025, 11:24:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — dom-iterator0 to < 1.0.1 Affected Not stated snyk
n/a — org.webjars.npm:dom-iterator0 and later Affected Not stated snyk
dom-iterator — dom-iterator0 and later · Other versions: unknown Affected Not stated CISA-ADP

Description

Versions of the package dom-iterator before 1.0.1 are vulnerable to Arbitrary Code Execution due to use of the Function constructor without complete input sanitization. Function generates a new function body and thus care must be given to ensure that the inputs to Function are not attacker-controlled. The risks involved are similar to that of allowing attacker-controlled input to reach eval.

en · snyk · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
6.9 / 10
Severity
medium
Provider
snyk · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.3 high snyk · cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a dom-iterator 0 to < 1.0.1 (affected · semver) snyk · cna
n/a org.webjars.npm:dom-iterator 0 and later (affected · semver) snyk · cna
dom-iterator dom-iterator 0 and later (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-94 Arbitrary Code Execution (snyk · cna)

References

3

Provider assertions

2

snyk · cna

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
173a32ed0c16cda0f2a1ddf2f500c2120909d505751f63da4c1ac9f3f69cad8d
Ingested
23 Sep 2026, 08:19:02 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