CVE-2022-25887

Regular Expression Denial of Service (ReDoS)

State
Published
Severity
5.3 Medium
Published
Aug 30, 2022
Updated
Sep 17, 2024
Reserved
Feb 24, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lsnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
sanitize-htmln/a
  • before 2.7.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.