CVE-2022-25887
highpriority · track · 31EPSS 0.016 · 75 %ileDEEUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.3–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (15)
Products and version ranges known to be affected.
- IBM Business Automation Workflow V19.0.0.3 traditionalall versionscert_bundDEcpe:/a:ibm:business_automation_workflow:v19.0.0.3_traditional
- IBM Business Automation Workflow V20.0.0.1 traditionalall versionscert_bundDEcpe:/a:ibm:business_automation_workflow:v20.0.0.1_traditional
- IBM Business Automation Workflow V20.0.0.2 containersall versionscert_bundDEcpe:/a:ibm:business_automation_workflow:v20.0.0.2_containers
- IBM Business Automation Workflow V20.0.0.2 traditionalall versionscert_bundDEcpe:/a:ibm:business_automation_workflow:v20.0.0.2_traditional
- IBM Business Automation Workflow V21.0.2 containersall versionscert_bundDEcpe:/a:ibm:business_automation_workflow:v21.0.2_containers
- IBM Business Automation Workflow V21.0.2 traditionalall versionscert_bundDEcpe:/a:ibm:business_automation_workflow:v21.0.2_traditional
- IBM Business Automation Workflow V21.0.3 containersall versionscert_bundDEcpe:/a:ibm:business_automation_workflow:v21.0.3_containers
- IBM Business Automation Workflow V21.0.3.1 traditionalall versionscert_bundDEcpe:/a:ibm:business_automation_workflow:v21.0.3.1_traditional
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-2368HCL BigFix: Mehrere SchwachstellenDeutsch2022-12-19csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in HCL BigFix ausnutzen, um die Verfügbarkeit, die Vertraulichkeit und die Integrität zu gefährden.
- WID-SEC-W-2023-0272IBM Business Automation Workflow: Schwachstelle ermöglicht Denial of ServiceDeutsch2023-02-02csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in IBM Business Automation Workflow ausnutzen, um einen Denial of Service Angriff durchzuführen.
- GHSA-cgfm-xwp7-2cvrSanitize-html Vulnerable To REDoS Attacks2022-08-31ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-25887/cnnvd
- https://github.com/apostrophecms/sanitize-html/commit/b4682c12fd30e12e82fa2d9b766de91d7d2cd23ccnnvd
- https://github.com/apostrophecms/sanitize-html/pull/557cnnvd
- https://packetstormsecurity.com/files/169712/Red-Hat-Security-Advisory-2022-7313-01.htmlcnnvd
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3008102cnnvd
- https://security.snyk.io/vuln/SNYK-JS-SANITIZEHTML-2957526cnnvd
- https://vigilance.fr/vulnerability/sanitize-html-overload-via-Regular-Expression-46969cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.5542cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan