CVE-2026-44664
fast-xml-builder Comment Value regex can be bypassed
6.1
MEDIUM
CVSS 3.1
EPSS 0.19%
描述
# Summary The fix for https://github.com/advisories/GHSA-gh4j-gqv2-49f6 in fast-xml-parser sanitizes `--` sequences in XML comment content using .replace(/--/g, '- -'). This skip the values containing three consecutive dashes (e.g., --->...), allowing an attacker to break out of an XML comment and inject arbitrary XML/HTML content. ### Impact Any application with comment property enabled allow attacker to inject malicious or unwanted code like JS script tag in the XML/HTML output. ### Workarounds Check for the presence of 3 consecutive dashes externally in the property value used for comment tag.
如何修補 CVE-2026-44664
要修補 CVE-2026-44664,請將受影響套件升級到下列已修補版本。
- —升級至 1.1.6 或更新版本
CVE-2026-44664 正在被利用嗎?
低 — EPSS 為 0.2%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- >= 1.1.5, < 1.1.6
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |