cbcvebase.

Sparklemotion Nokogiri vulnerabilities

28 known vulnerabilities affecting sparklemotion/nokogiri.

Total CVEs
28
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH17MEDIUM8LOW2

Vulnerabilities

Page 1 of 2
CVE-2021-30560P3HIGHCVSS 8.8fixed in 1.13.22021-08-03
CVE-2021-30560 [HIGH] CWE-416 CVE-2021-30560: Use after free in Blink XSLT in Google Chrome prior to 91.0.4472.164 allowed a remote attacker to po Use after free in Blink XSLT in Google Chrome prior to 91.0.4472.164 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.
nvd
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-2025-71407P3CRITICALCVSS 9.8fixed in 1.18.32026-08-25
CVE-2025-71407 [CRITICAL] CWE-787 CVE-2025-71407: Nokogiri before 1.18.3 contains a stack buffer overflow vulnerability in libxml2 when reporting DTD Nokogiri before 1.18.3 contains a stack buffer overflow vulnerability in libxml2 when reporting DTD validation errors with long QName prefixes, and a use-after-free vulnerability during validation against untrusted XML Schemas. Attackers can trigger these vulnerabilities by providing malicious DTD content or untrusted XSD files to cause denial of s
nvd
CVE-2024-34459P3HIGHCVSS 7.5fixed in 1.16.52024-05-14
CVE-2024-34459 [HIGH] CWE-122 CVE-2024-34459: An issue was discovered in xmllint (from libxml2) before 2.11.8 and 2.12.x before 2.12.7. Formatting An issue was discovered in xmllint (from libxml2) before 2.11.8 and 2.12.x before 2.12.7. Formatting error messages with xmllint --htmlout can result in a buffer over-read in xmlHTMLPrintFileContext in xmllint.c.
nvd
CVE-2022-50999P3HIGHCVSS 8.6fixed in 1.13.52026-08-25
CVE-2022-50999 [HIGH] CWE-119 CVE-2022-50999: Nokogiri versions before 1.13.5 contain an integer overflow vulnerability in packaged libxml2 buffer Nokogiri versions before 1.13.5 contain an integer overflow vulnerability in packaged libxml2 buffer handling functions that allows attackers to cause out-of-bounds memory writes. Attackers can exploit this by crafting multi-gigabyte XML files to trigger buffer overflows resulting in information disclosure, data modification, or denial of service.
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-2024-25062P3HIGHCVSS 7.5≥ 1.16.0, < 1.16.2fixed in 1.15.62024-02-04
CVE-2024-25062 [HIGH] CWE-416 CVE-2024-25062: An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.
nvd
CVE-2025-32415P3HIGHCVSS 7.5fixed in 1.18.82025-04-17
CVE-2025-32415 [HIGH] CWE-1284 CVE-2025-32415: In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.
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-2024-55549P3HIGHCVSS 7.8fixed in 1.18.42025-03-14
CVE-2024-55549 [HIGH] CWE-416 CVE-2024-55549: xsltGetInheritedNsList in libxslt before 1.1.43 has a use-after-free issue related to exclusion of r xsltGetInheritedNsList in libxslt before 1.1.43 has a use-after-free issue related to exclusion of result prefixes.
nvd
CVE-2026-79770P3HIGHCVSS 7.5fixed in 1.19.32026-08-25
CVE-2026-79770 [HIGH] CWE-1333 CVE-2026-79770: Nokogiri versions before 1.19.3 contain regular expression denial of service vulnerabilities in the Nokogiri versions before 1.19.3 contain regular expression denial of service vulnerabilities in the CSS selector tokenizer affecting string-literal and identifier tokenization. Attackers can inject adversarial CSS selectors into methods like Node#css, Node#at_css, and Searchable#search to cause exponential regex backtracking and denial of service.
nvd
CVE-2019-20388P3HIGHCVSS 7.5fixed in 1.11.42020-01-21
CVE-2019-20388 [HIGH] CWE-401 CVE-2019-20388: xmlSchemaPreRun in xmlschemas.c in libxml2 2.9.10 allows an xmlSchemaValidateStream memory leak. xmlSchemaPreRun in xmlschemas.c in libxml2 2.9.10 allows an xmlSchemaValidateStream memory leak.
nvd
CVE-2022-2309P3HIGHCVSS 7.5fixed in 1.13.92022-07-05
CVE-2022-2309 [HIGH] CWE-476 CVE-2022-2309: NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused
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-79772P4MEDIUMCVSS 5.3≥ 1.5.1, < 1.19.12026-08-25
CVE-2026-79772 [MEDIUM] CWE-252 CVE-2026-79772: Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicali Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicalize method, returning an empty string on failure instead of raising an exception. Attackers can exploit this to bypass signature validation in downstream SAML libraries by providing invalid canonicalized XML that is incorrectly accepted as valid.
nvd