7.5

CVE-2022-25887: apostrophecms sanitize-html

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2022-25887USN-7464-1DEBIAN-CVE-2022-25887
Published 30-08-2022Last modified 17-09-2024

Vulnerability summary

CVE-2022-25887 is a high (CVSS 7.5) vulnerability in apostrophecms sanitize-html. EPSS estimates a 1.45% chance of exploitation in the next 30 days, higher than 73.2% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.45%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 30-08-2022
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.45%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

0.00 pp

From 1.45% on 21-09-2026

21-09-202621-10-2026
EPSS score
1.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu2 products
  • jupyter-notebook< 6.4.8-1ubuntu0.1+esm1 | < 6.4.12-2.2ubuntu1+esm1 | All versions (No fix recorded)
  • node-sanitize-htmlAll versions (No fix recorded)
Apostrophecms1 product
Debian1 product
  • node-sanitize-html< 2.7.1+~2.6.2-1
Npm1 product
  • sanitize-html< 2.7.1

4 vendors · 5 products

References

9 links