VYPR
Medium severity5.3NVD Advisory· Published Aug 30, 2022· Updated Jun 17, 2026

CVE-2022-25887

CVE-2022-25887

Description

The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment removal.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
sanitize-htmlnpm
< 2.7.12.7.1

Affected products

3
  • cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*+ 1 more
    • cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*range: <2.7.1
    • (no CPE)range: unspecified
  • ghsa-coords
    Range: < 2.7.1

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.