CVE-2022-25887

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-25887
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25887.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-25887
Aliases
Related
Published
2022-08-30T05:15:07Z
Modified
2024-09-18T03:12:23.249529Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/debian/node-sanitize-html?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.1+~2.6.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/debian/node-sanitize-html?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.1+~2.6.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/apostrophecms/sanitize-html

Affected ranges

Type
GIT
Repo
https://github.com/apostrophecms/sanitize-html
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.10.1
1.11.0
1.11.1
1.11.4
1.18.2
1.18.3
1.18.4
1.18.5
1.19.0
1.19.1
1.19.2
1.19.3
1.20.0
1.21.0
1.21.1
1.22.0
1.27.4

2.*

2.0.0
2.1.0
2.1.1
2.1.2
2.2.0
2.3.0
2.3.1
2.3.2
2.3.3
2.4.0
2.5.0
2.5.1
2.5.2
2.5.3
2.6.0
2.6.1
2.7.0

v1.*

v1.5.2
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.9.0