CVE-2026-44664

MEDIUM6.1EPSS 0.01%

fast-xml-builder Comment Value regex can be bypassed

發布日:2026/5/8修改日:2026/5/14

描述

# 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.

受影響套件(1)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1MEDIUM6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

參考連結(4)