本ページは apostrophecms sanitize-html に影響する公開済み CVE(NVD の CPE 経由で関連付け)を列挙します。各行に深刻度指標・概要・公開日が含まれます。
| CVE | 概要 | ソース | CVSS 最大値 | EPSS(%) | 公開 | 更新 |
|---|---|---|---|---|---|---|
| CVE-2026-40186 | ApostropheCMS is an open-source Node.js content management system. A regression introduced in commit 49d0bb7, included in versions 2.17.1 of the ApostropheCMS-maintained sanitize-html package bypasses allowedTags enforcement for text inside nonTextTagsArray elements (textarea and option). ApostropheCMS version 4.28.0 is affected through its dependency on the vulnerable sanitize-html version. The code at packages/sanitize-html/index.js:569-573 incorrectly assumes that htmlparser2 does not decode | [email protected] | 6.1 | 0.24% | 2026-04-15 | 2026-06-17 |
| CVE-2014-125128 | 'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). The function 'naughtyHref' doesn't properly validate the hyperreference (`href`) attribute in anchor tags (`<a>`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings. | 596c5446-0ce5-4ba2-aa66-48b3b757a647 | 6.1 | 0.26% | 2025-09-08 | 2026-06-16 |
| CVE-2019-25225 | `sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The `sanitizeHtml()` function in `index.js` does not sanitize content when using the custom `transformTags` option, which is intended to convert attribute values into text. As a result, malicious input can be transformed into executable code. | 596c5446-0ce5-4ba2-aa66-48b3b757a647 | 6.1 | 0.25% | 2025-09-08 | 2026-06-16 |
| CVE-2024-21501 | Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server. | [email protected] | 5.3 | 1.02% | 2024-02-24 | 2026-06-17 |
| 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. | [email protected] | 5.3 | 1.11% | 2022-08-30 | 2026-06-17 |
| CVE-2021-26540 | Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allowIframeRelativeUrls" is set to true, which allows attackers to bypass hostname whitelist for iframe element, related using an src value that starts with "/\\example.com". | [email protected] | 5.3 | 1.75% | 2021-02-08 | 2026-06-16 |
| CVE-2021-26539 | Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which could allow an attacker to bypass hostname whitelist validation set by the "allowedIframeHostnames" option. | [email protected] | 5.3 | 1.95% | 2021-02-08 | 2026-06-16 |
| CVE-2016-1000237 | sanitize-html before 1.4.3 has XSS. | [email protected] | 6.1 | 0.84% | 2020-01-23 | 2026-06-16 |