Skip to main content
← All vulnerabilities
CVE-2022-25887GHSA-CGFM-XWP7-2CVR

Regular Expression Denial of Service (ReDoS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a sanitize-html

    fixed in 2.7.1

  • sanitize-htmlnpm

    fixed in 2.7.1

References 4

security.snyk.io

GitHub · apostrophecms/sanitize-html