GHSA-cgfm-xwp7-2cvr
Sanitize-html Vulnerable To REDoS Attacks
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2022-25887
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · sanitize-html | introduced 0, fixed 2.7.1 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2022-25887 ADVISORY
- https://github.com/apostrophecms/sanitize-html/pull/557 WEB
- https://github.com/apostrophecms/sanitize-html/commit/b4682c12fd30e12e82fa2d9b766de91d7d2cd23c WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3008102 WEB
- https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-2957526 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |