Nokogiri 是一款面向 Ruby 编程语言的开源 XML 和 HTML 处理库。在 1.19.5 版本之前,在 JRuby 环境下,若应用程序使用 DTDLOAD、DTDVALID 或 NOENT 选项解析不可信的 XML 内容,当外部 DTD 或实体使用短格式 IPv4 主机地址,或使用了基于网络 URL 解析的绝对路径时,NONET 限制可能被绕过。解析器可能将这些标识符视为本地资源,从而发起网络请求,进而可能导致服务器端请求伪造(SSRF)攻击。此问题不影响 CRuby 环境及默认解析选项。该漏洞已在
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| sparklemotion | nokogiri | < 1.19.5 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-126063 | 2.3 LOW | Nokogiri: Mutation XSS through `noscript` content in Nokogiri's HTML5 serializer |
| CVE-2026-126064 | 2.0 LOW | Nokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Node |