- Latest release
- Not known: cve.now hasn't read this package's releases
- Newest unaffected release
- Not known without release data
- Advisories
- 43 · 1 critical, 12 high, 6 medium, 8 low
- Registry
- RubyGems
Advisories 43
- CVE-2026-79772Medium 6.9
Nokogiri before 1.19.1 Unchecked Return Value canonicalize
Affected: from 1.5.1, fixed in 1.19.1.
- CVE-2026-79771Medium 6.9
Nokogiri before 1.19.3 Memory Leak via XSLT Transform
Affected: fixed in 1.19.3.
- CVE-2026-79770High 8.7
Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer
Affected: fixed in 1.19.3.
- CVE-2026-57438Low 2.2
Nokogiri: Possible Use-After-Free in XInclude Processing
Affected: fixed in 1.19.4.
- CVE-2026-57437Low 1.7
Nokogiri: Possible Use-After-Free when directly using `NokogirI::XML::XPathContext` beyond document lifetime
Affected: fixed in 1.19.4.
- CVE-2026-57436Low 1.7
Nokogiri: Possible Use-After-Free when setting `Document#root=` to an invalid node type
Affected: fixed in 1.19.4.
- CVE-2026-57435Low 1.7
Nokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Attr#value=` or `#content=`
Affected: fixed in 1.19.4.
- CVE-2026-57434Low 1.7
Nokogiri: Null Pointer Dereference calling methods on uninitialized wrapper classes
Affected: fixed in 1.19.4.
- CVE-2026-57235Medium 6.3
Nokogiri: Possible Out-of-Bounds Read in `Nokogiri::XML::NodeSet#[]`
Affected: fixed in 1.19.4.
- CVE-2026-57234Low 2.6
Nokogiri: XML::Schema on JRuby allows network requests when NONET is set, bypassing CVE-2020-26247
Affected: fixed in 1.19.4.
- CVE-2026-57236Low 1.7
Nokogiri: Possible Use-After-Free when `Nokogiri::XML::Document#encoding=` raises an exception
Affected: fixed in 1.19.4.
- CVE-2022-23476High 7.5
Unchecked return value from xmlTextReaderExpand in Nokogiri
Affected: from 1.13.8, fixed in 1.13.10.
- CVE-2022-29181High 8.2
Improper Handling of Unexpected Data Type in Nokogiri
Affected: fixed in 1.13.6.
- CVE-2022-24836High 7.5
Inefficient Regular Expression Complexity in Nokogiri
Affected: fixed in 1.13.4.
- CVE-2018-25032High 7.5
zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
Affected: fixed in 1.13.4.
Show all 43 advisoriesShow fewer advisories
- CVE-2021-41098High 7.5
Improper Restriction of XML External Entity Reference (XXE) in Nokogiri on JRuby
Affected: fixed in 1.12.5.
- CVE-2021-30560High 8.8
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…
Affected: fixed in 1.13.2.
- CVE-2021-3517High 8.6
There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11.
Affected: fixed in 1.11.4.
- CVE-2021-3518Unrated
There's a flaw in libxml2 in versions before 2.9.11.
Affected: fixed in 1.11.4.
- CVE-2021-3537Unrated
A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing…
Affected: fixed in 1.11.4.
- CVE-2020-26247Low 2.6
XXE in Nokogiri
Affected: fixed in 1.11.0.
- CVE-2012-6685Unrated
Nokogiri before 1.5.4 is vulnerable to XXE attacks
Affected: fixed in 1.5.4.
- CVE-2020-7595High 7.5
xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation.
Affected: fixed in 1.10.8.
- CVE-2019-5815Unrated
Type confusion in xsltNumberFormatGetMultipleLevel prior to libxslt 1.1.33 could allow attackers to potentially exploit heap corruption…
Affected: fixed in 1.10.5.
- CVE-2013-6461Unrated
Nokogiri gem 1.5.x and 1.6.x has DoS while parsing XML entities by failing to apply limits
Affected: from 1.5.0, fixed in 1.5.11; from 1.6.0, fixed in 1.6.1.
- CVE-2013-6460Unrated
Nokogiri gem 1.5.x has Denial of Service via infinite loop when parsing XML documents
Affected: from 1.5.0, fixed in 1.5.11; from 1.6.0, fixed in 1.6.1.
- CVE-2019-18197High 7.5
In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances.
Affected: fixed in 1.10.5.
- CVE-2019-5477Unrated
A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess via Ruby's `Kernel.open`…
Affected: fixed in 1.10.4.
- CVE-2019-13118Medium 5.3
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid…
Affected: fixed in 1.10.5.
- CVE-2019-13117Medium 5.3
In numbers.c in libxslt 1.1.33, an xsl:number with certain format strings could lead to a uninitialized read in…
Affected: fixed in 1.10.5.
- CVE-2019-11068Critical 9.8
libxslt through 1.1.33 allows bypass of a protection mechanism because callers of xsltCheckRead and xsltCheckWrite permit access even upon…
Affected: fixed in 1.10.3.
- CVE-2017-15412Unrated
Use after free in libxml2 before 2.9.5, as used in Google Chrome prior to 63.0.3239.84 and other products, allowed a remote attacker to…
Affected: fixed in 1.8.2.
- CVE-2018-14404Medium 6.5
A NULL pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 through 2.9.8 when parsing an invali
Affected: fixed in 1.8.5.
- CVE-2017-18258Unrated
The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service (memory consumption) via a craf
Affected: fixed in 1.8.2.
- CVE-2018-8048Unrated
In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML…
Affected: fixed in 1.8.3.
- CVE-2017-16932High 7.5
parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.
Affected: fixed in 1.8.1.
- CVE-2017-9050High 7.5
libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictAddString function in dict.c.
Affected: fixed in 1.8.1.
- CVE-2017-5029Unrated
The xsltAddTextString function in transform.c in libxslt 1.1.29, as used in Blink in Google Chrome prior to 57.0.2987.98 for Mac, Windows…
Affected: fixed in 1.7.2.
- CVE-2016-4658Unrated
xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS before 3, and other produ
Affected: fixed in 1.7.1.
- CVE-2015-8806Unrated
dict.c in libxml2 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via an…
Affected: from 1.6.0, fixed in 1.6.8.
- CVE-2015-7499Unrated
Heap-based buffer overflow in the xmlGROW function in parser.c in libxml2 before 2.9.3 allows context-dependent attackers to obtain…
Affected: from 1.6.0, fixed in 1.6.7.2.
- CVE-2015-5312Unrated
The xmlStringLenDecodeEntities function in parser.c in libxml2 before 2.9.3 does not properly prevent entity expansion, which allows…
Affected: from 1.6.0, fixed in 1.6.7.1.
- CVE-2015-1819Unrated
The xmlreader in libxml allows remote attackers to cause a denial of service (memory consumption) via crafted XML data, related to an XML…
Affected: from 1.6.6.0, fixed in 1.6.6.4.