npm package report

Is @jitbit/htmlsanitizer safe?

1 known vulnerability, worst severity MODERATE.

cvss
5.3

how bad it is if exploited, out of 10

epss
0.40%

chance of exploitation in the next 30 days

xyz score
not scored

CyberXYZ composite, out of 10

fig. 01 — GHSA-vhv4-fh94-jm5x, the advisory selected below

// advisories

GHSA-vhv4-fh94-jm5x

MODERATECVE-2025-29771

XSS vulnerability when the sanitizer is used with a contentEditable element to set the elements innerHTML to a sanitized string produced by the package. If the code is particularly crafted to abuse the code beautifier, that runs AFTER sanitation.

Affected
< 2.0.3
Fixed in
2.0.3
Weakness
CWE-79
Published
2025-03-14
Source
github

GHSANVDMITREreferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 03:44 UTC. The most recent advisory here was published 2025-03-14. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is @jitbit/htmlsanitizer safe? npm package security report | CyberXYZ