cbcvebase.

Sparklemotion Nokogiri vulnerabilities

14 known vulnerabilities affecting sparklemotion/nokogiri.

Total CVEs
14
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH8MEDIUM4LOW2

Vulnerabilities

Page 1 of 1
CVE-2022-29181P3HIGHCVSS 8.2fixed in 1.13.62022-05-20
CVE-2022-29181 [HIGH] CWE-241 CVE-2022-29181: Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HTML4 SAX parsers, allowing specially crafted untrusted inputs to cause illegal memory access errors (segfault) or reads from unrelated memory. Version 1.13.6 contains a patch for this issue. As a workaround, ensure
nvd
CVE-2026-57235P3HIGHCVSS 8.2fixed in 1.19.42026-06-25
CVE-2026-57235 [HIGH] CWE-125 CVE-2026-57235: Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::NodeSet#[] (and its alias #slice) checked the requested index against the node set's bounds using a 32-bit-truncated copy of the index. A large negative index could pass the check and then be used at full width, reading outside the node se
nvd
CVE-2026-57236P3HIGHCVSS 8.2fixed in 1.19.42026-06-25
CVE-2026-57236 [HIGH] CWE-416 CVE-2026-57236: Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, calling Document#encoding= with an invalid encoding (e.g., a non-string, or a string containing a null byte) raises an exception, but only after freeing the document's current encoding string without replacing it. The document is left referencing freed m
nvd
CVE-2021-41098P3HIGHCVSS 7.5fixed in 1.12.52021-09-27
CVE-2021-41098 [HIGH] CWE-611 CVE-2021-41098: Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector suppo Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support. In Nokogiri v1.12.4 and earlier, on JRuby only, the SAX parser resolves external entities by default. Users of Nokogiri on JRuby who parse untrusted documents using any of these classes are affected: Nokogiri::XML::SAX::Parse, Nokogiri::HTML4::SAX::
nvd
CVE-2026-57435P3HIGHCVSS 7.5fixed in 1.19.42026-06-25
CVE-2026-57435 [HIGH] CWE-416 CVE-2026-57435: Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri’s CRuby native extension could leave a Ruby wrapper pointing to freed memory when replacing the value of an XML attribute. If Ruby code had already accessed an attribute child node, Nokogiri::XML::Attr#value= could free the underlying native chi
nvd
CVE-2022-23476P3HIGHCVSS 7.5v>= 1.13.8, < 1.13.102022-12-08
CVE-2022-23476 [HIGH] CWE-252 CVE-2022-23476: Nokogiri is an open source XML and HTML library for the Ruby programming language. Nokogiri `1.13.8` Nokogiri is an open source XML and HTML library for the Ruby programming language. Nokogiri `1.13.8` and `1.13.9` fail to check the return value from `xmlTextReaderExpand` in the method `Nokogiri::XML::Reader#attribute_hash`. This can lead to a null pointer exception when invalid markup is being parsed. For applications using `XML::Reader` to parse un
nvd
CVE-2026-57434P3HIGHCVSS 7.5fixed in 1.19.42026-06-25
CVE-2026-57434 [HIGH] CWE-476 CVE-2026-57434: Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri contains a bug when calling certain methods on allocated-but-uninitialized native wrapper classes that inherit from Nokogiri::XML::Node. This caused a NULL pointer dereference that could crash the process. This vulnerability is fixed in 1.19.4.
nvd
CVE-2022-24836P3HIGHCVSS 7.5fixed in 1.13.42022-04-11
CVE-2022-24836 [HIGH] CWE-400 CVE-2022-24836: Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficie Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `= 1.13.4`. There are no known workarounds for this issue.
nvd
CVE-2026-57436P4MEDIUMCVSS 5.3fixed in 1.19.42026-06-25
CVE-2026-57436 [MEDIUM] CWE-416 CVE-2026-57436: Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::Document#root= validated only that the new root was a Nokogiri::XML::Node, allowing a DTD node to be set as the document root. The result is a heap use-after-free during garbage collection or finalization, leading to an invalid memory re
nvd
CVE-2026-57437P4MEDIUMCVSS 5.3fixed in 1.19.42026-06-25
CVE-2026-57437 [MEDIUM] CWE-416 CVE-2026-57437: Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source document alive for garbage collection. If an XPathContext outlived its document and the document was collected, evaluating an XPath expression could read invalid memory and potentially segfault. This
nvd
CVE-2026-57438P4MEDIUMCVSS 6.6fixed in 1.19.42026-06-25
CVE-2026-57438 [MEDIUM] CWE-416 CVE-2026-57438: Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, XInclude substitution performed by Nokogiri::XML::Node#do_xinclude replaced each in place, freeing the include node along with its children (such as and its descendants) and any namespaces declared on them. If an application had already exposed one of
nvd
CVE-2020-26247P4MEDIUMCVSS 4.3fixed in 1.19.42020-12-30
CVE-2020-26247 [MEDIUM] CWE-611 CVE-2020-26247: Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector suppo Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support. In Nokogiri before version 1.11.0.rc4 there is an XXE vulnerability. XML Schemas parsed by Nokogiri::XML::Schema are trusted by default, allowing external resources to be accessed over the network, potentially enabling XXE or SSRF attacks. This be
nvd
CVE-2025-6494P4LOWCVSS 3.3vc29c920907366cb74af13b4dc2230e9c9e23b8332025-06-22
CVE-2025-6494 [LOW] CWE-119 CVE-2025-6494: A vulnerability was found in sparklemotion nokogiri c29c920907366cb74af13b4dc2230e9c9e23b833. It has A vulnerability was found in sparklemotion nokogiri c29c920907366cb74af13b4dc2230e9c9e23b833. It has been classified as problematic. This affects the function hashmap_get_with_hash of the file gumbo-parser/src/hashmap.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the pub
nvd
CVE-2025-6490P4LOWCVSS 3.3vc29c920907366cb74af13b4dc2230e9c9e23b8332025-06-22
CVE-2025-6490 [LOW] CWE-119 CVE-2025-6490: A vulnerability was found in sparklemotion nokogiri c29c920907366cb74af13b4dc2230e9c9e23b833 and cla A vulnerability was found in sparklemotion nokogiri c29c920907366cb74af13b4dc2230e9c9e23b833 and classified as problematic. This issue affects the function hashmap_set_with_hash of the file gumbo-parser/src/hashmap.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public
nvd
Sparklemotion Nokogiri vulnerabilities | cvebase