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

published medium CVSS 3.1 · 5.3

sanitize-html: Information Exposure when used on the backend

Title from Red Hat VEX

Published
24 Feb 2024, 05:00:02 UTC
Updated
13 Feb 2025, 17:33:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — sanitize-html0 to < 2.12.1 Affected Not stated snyk
n/a — org.webjars.npm:sanitize-html0 and later Affected Not stated snyk
apostrophecms — sanitize-html0 to < 2.12.1 · Other versions: unknown Affected Not stated CISA-ADP

Description

Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.

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
3.1
Base score
5.3 / 10
Severity
medium
Provider
snyk · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P

Publisher product statements

Version ranges and default statuses as reported by each provider.

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

Weaknesses

2
  • CWE-200 Information Exposure (snyk · cna)
  • CWE-538 CWE-538 Insertion of Sensitive Information into Externally-Accessible File or Directory (CISA-ADP · adp)

References

8

Provider assertions

3

snyk · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
7d62a2f7d1af00eb867b1a021574a1574f10720c6d7fd0e566e10e0ed6b71269
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