CVE-2022-25887

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*

History

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE NVD-CWE-Other CWE-1333

01 Sep 2022, 20:38

Type Values Removed Values Added
CPE cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*
First Time Apostrophecms
Apostrophecms sanitize-html
CWE NVD-CWE-Other
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References (CONFIRM) https://github.com/apostrophecms/sanitize-html/pull/557 - (CONFIRM) https://github.com/apostrophecms/sanitize-html/pull/557 - Issue Tracking, Patch, Third Party Advisory
References (CONFIRM) https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-2957526 - (CONFIRM) https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-2957526 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/apostrophecms/sanitize-html/commit/b4682c12fd30e12e82fa2d9b766de91d7d2cd23c - (CONFIRM) https://github.com/apostrophecms/sanitize-html/commit/b4682c12fd30e12e82fa2d9b766de91d7d2cd23c - Patch, Third Party Advisory
References (CONFIRM) https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3008102 - (CONFIRM) https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3008102 - Patch, Third Party Advisory

30 Aug 2022, 06:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-30 05:15

Updated : 2023-12-10 14:35


NVD link : CVE-2022-25887

Mitre link : CVE-2022-25887

CVE.ORG link : CVE-2022-25887


JSON object : View

Products Affected

apostrophecms

  • sanitize-html
CWE