● RubyGems gem
nokogiri
Nokogiri has 60 security advisories. The newest release any of them names as the fix is 1.19.5.
As of , nokogiri has 60 security advisories. The newest release any of them names as the fix is 1.19.5.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| Before 1.19.5 | 1.19.5 | 60 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-126062GHSA-v995-44v6-5fqm | JRuby: NONET is bypassed for external DTDs and entities when the systemId uses a short-form IPv4 hostLow severity | Before 1.19.5 | 1.19.5 | |
| CVE-2026-126064GHSA-3w22-6jfg-527w | Nokogiri: Use-After-Free in Nokogiri when replacing an attribute valueLow severity | Before 1.19.5 | 1.19.5 | |
| CVE-2026-126063GHSA-4p39-36wj-23h4 | Nokogiri: Mutation XSS through `noscript` content in Nokogiri's HTML5 serializerLow severity | From 1.12.0 before 1.19.5 | 1.19.5 | |
| CVE-2026-57435GHSA-phwj-rprq-35pp | Nokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Attr#value=` or `#content=`Low severity | Before 1.19.4 | 1.19.4 | |
| CVE-2026-57438GHSA-wfpw-mmfh-qq69 | Nokogiri: Possible Use-After-Free in XInclude ProcessingLow severity | Before 1.19.4 | 1.19.4 | |
| CVE-2026-57437GHSA-p67v-3w7g-wjg7 | Nokogiri: Possible Use-After-Free when directly using `NokogirI::XML::XPathContext` beyond document lifetimeLow severity | Before 1.19.4 | 1.19.4 | |
| CVE-2026-57436GHSA-wjv4-x9w8-wm3h | Nokogiri: Possible Use-After-Free when setting `Document#root=` to an invalid node typeLow severity | Before 1.19.4 | 1.19.4 | |
| CVE-2026-57235GHSA-5prr-v3j2-97mh | Nokogiri: Possible Out-of-Bounds Read in `Nokogiri::XML::NodeSet#[]`Moderate severity | Before 1.19.4 | 1.19.4 | |
| CVE-2026-57434GHSA-9cv2-cfxc-v4v2 | Nokogiri: Null Pointer Dereference calling methods on uninitialized wrapper classesLow severity | Before 1.19.4 | 1.19.4 | |
| CVE-2026-57234GHSA-8678-w3jw-xfc2 | Nokogiri: XML::Schema on JRuby allows network requests when NONET is set, bypassing CVE-2020-26247Low severity | Before 1.19.4 | 1.19.4 | |
| CVE-2026-57236GHSA-5v8h-3h3q-446p | Nokogiri: Possible Use-After-Free when `Nokogiri::XML::Document#encoding=` raises an exceptionLow severity | Before 1.19.4 | 1.19.4 | |
| CVE-2026-79771GHSA-v2fc-qm4h-8hqv | Nokogiri XSLT transform has a memory leakModerate severity | Before 1.19.3 | 1.19.3 | |
| CVE-2026-79770GHSA-c4rq-3m3g-8wgx | Nokogiri CSS selector tokenizer has regular expression backtrackingHigh severity | Before 1.19.3 | 1.19.3 | |
| CVE-2026-79772GHSA-wx95-c6cv-8532 | Nokogiri does not check the return value from xmlC14NExecuteModerate severity | From 1.5.1 before 1.19.1 | 1.19.1 | |
| GHSA-353f-x4gh-cqq8 | Nokogiri patches vendored libxml2 to resolve multiple CVEsCritical severity | Before 1.18.9 | 1.18.9 | |
| GHSA-5w6v-399v-w3cc | Nokogiri updates packaged libxml2 to v2.13.8 to resolve CVE-2025-32414 and CVE-2025-32415Low severity | Before 1.18.8 | 1.18.8 | |
| GHSA-mrxw-mxhj-p664 | Nokogiri updates packaged libxslt to v1.1.43 to resolve multiple CVEsHigh severity | Before 1.18.4 | 1.18.4 | |
| GHSA-vvfq-8hwr-qm4m | Nokogiri updates packaged libxml2 to 2.13.6 to resolve CVE-2025-24928 and CVE-2024-56171Low severity | Before 1.18.3 | 1.18.3 | |
| GHSA-r95h-9x8f-r3f7 | Nokogiri updates packaged libxml2 to v2.12.7 to resolve CVE-2024-34459Low severity | Before 1.16.5 | 1.16.5 | |
| GHSA-xc9x-jj77-9p9j | Nokogiri update packaged libxml2 to v2.12.5 to resolve CVE-2024-25062Moderate severity | From 1.16.0 before 1.16.2; Before 1.15.6 | 1.15.6, 1.16.2 | |
| GHSA-pxvg-2qj5-37jq | Nokogiri updates packaged libxml2 to v2.10.4 to resolve multiple CVEsModerate severity | Before 1.14.3 | 1.14.3 | |
| CVE-2022-23476GHSA-qv4q-mr5r-qprj | Unchecked return value from xmlTextReaderExpandHigh severity | From 1.13.8 before 1.13.10 | 1.13.10 | |
| GHSA-2qc6-mcvw-92cw | Update bundled libxml2 to v2.10.3 to resolve multiple CVEsModerate severity | Before 1.13.9 | 1.13.9 | |
| CVE-2021-30560GHSA-59gp-qqm7-cw4j | Nokogiri has vulnerable dependencies on libxml2 and libxsltHigh severity | Before 1.13.2 | 1.13.2 | |
| CVE-2021-3517GHSA-jw9f-hh49-cvp9 | Nokogiri contains libxml Out-of-bounds Write vulnerabilityHigh severity | Before 1.11.4 | 1.11.4 | |
| CVE-2021-3518GHSA-v4f8-2847-rwm7 | Nokogiri Implements libxml2 version vulnerable to use-after-freeHigh severity | Before 1.11.4 | 1.11.4 | |
| CVE-2021-3537GHSA-286v-pcf5-25rc | Nokogiri Implements libxml2 version vulnerable to null pointer dereferencingModerate severity | Before 1.11.4 | 1.11.4 | |
| CVE-2019-5815GHSA-vmfx-gcfq-wvm2 | Nokogiri implementation of libxslt vulnerable to heap corruptionHigh severity | Before 1.10.5 | 1.10.5 | |
| CVE-2019-18197GHSA-242x-7cm6-4w8j | Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerabilityHigh severity | Before 1.10.5 | 1.10.5 | |
| CVE-2019-13118GHSA-cf46-6xxh-pc75 | libxslt Type Confusion vulnerability that affects NokogiriHigh severity | Before 1.10.5 | 1.10.5 | |
| CVE-2019-13117GHSA-4hm9-844j-jmxp | Uninitialized read in Nokogiri gemModerate severity | Before 1.10.5 | 1.10.5 | |
| CVE-2022-29181GHSA-xh29-r2w5-wx8m | Nokogiri Improperly Handles Unexpected Data TypeHigh severity | Before 1.13.6 | 1.13.6 | |
| GHSA-cgx6-hpwq-fhv5 | Integer Overflow or Wraparound in libxml2 affects NokogiriHigh severity | Before 1.13.5 | 1.13.5 | |
| CVE-2017-15412GHSA-r58r-74gx-6wx3 | Nokogiri gem, via libxml, is affected by DoS vulnerabilitiesHigh severity | Before 1.8.2 | 1.8.2 | |
| CVE-2019-11068GHSA-qxcg-xjjg-66mj | Nokogiri vulnerable to libxslt protection mechanism bypassCritical severity | Before 1.10.3 | 1.10.3 | |
| CVE-2017-16932GHSA-x2fm-93ww-ggvx | Nokogiri gem, via libxml, is affected by DoS vulnerabilitiesHigh severity | Before 1.8.1 | 1.8.1 | |
| CVE-2013-6460GHSA-62qp-3fxm-9wxf | Nokogiri vulnerable to DoS while parsing XML documentsModerate severity | From 1.6.0 before 1.6.1; From 1.5.0 before 1.5.11 | 1.5.11, 1.6.1 | |
| CVE-2013-6461GHSA-jmhh-w7xp-wg39 | Nokogiri vulnerable to DoS while parsing XML entitiesModerate severity | From 1.6.0 before 1.6.1; From 1.5.0 before 1.5.11 | 1.5.11, 1.6.1 | |
| CVE-2012-6685GHSA-6wj9-77wq-jq7p | Nokogiri is vulnerable to XML External Entity (XXE) attackHigh severity | Before 1.5.4 | 1.5.4 | |
| GHSA-gx8x-g87m-h5q6 | Denial of Service (DoS) in Nokogiri on JRubyHigh severity | Before 1.13.4 | 1.13.4 | |
| GHSA-xxx9-3xcr-gjj3 | XML Injection in Xerces Java affects NokogiriModerate severity | Before 1.13.4 | 1.13.4 | |
| GHSA-v6gp-9mmm-c6p5 | Out-of-bounds Write in zlib affects NokogiriHigh severity | Before 1.13.4 | 1.13.4 | |
| CVE-2022-24836GHSA-crjr-9rc5-ghw8 | Nokogiri Inefficient Regular Expression ComplexityHigh severity | Before 1.13.4 | 1.13.4 | |
| CVE-2018-25032GHSA-jc36-42cf-vqwj | Nokogiri affected by zlib's Out-of-bounds Write vulnerabilityHigh severity | Before 1.13.4 | 1.13.4 | |
| GHSA-fq42-c5rg-92c2 | Vulnerable dependencies in NokogiriHigh severity | Before 1.13.2 | 1.13.2 | |
| CVE-2021-41098GHSA-2rr5-8q37-2w7h | Improper Restriction of XML External Entity Reference (XXE) in Nokogiri on JRubyHigh severity | Before 1.12.5 | 1.12.5 | |
| GHSA-7rrm-v45f-jp64 | Nokogiri updates packaged dependency on libxml2 from 2.9.10 to 2.9.12Moderate severity | Before 1.11.4 | 1.11.4 | |
| CVE-2020-26247GHSA-vr8q-g5c7-m54m | Nokogiri::XML::Schema trusts input by default, exposing risk of XXE vulnerabilityModerate severity | Before 1.11.0 | 1.11.0 | |
| CVE-2020-7595GHSA-7553-jr98-vx47 | libxml as used in Nokogiri has an infinite loop in a certain end-of-file situationHigh severity | Before 1.10.8 | 1.10.8 | |
| CVE-2019-5477GHSA-cr5j-953j-xw5p | Nokogiri Command Injection VulnerabilityCritical severity | Before 1.10.4 | 1.10.4 | |
| CVE-2018-14404GHSA-6qvp-r6r3-9p7h | Nokogiri NULL Pointer DereferenceHigh severity | Before 1.8.5 | 1.8.5 | |
| CVE-2015-7499GHSA-jxjr-5h69-qw3w | Heap-based buffer overflow in nokogiriModerate severity | From 1.6.0 before 1.6.7.2 | 1.6.7.2 | |
| CVE-2015-8806GHSA-7hp2-xwpj-95jq | Denial of service or RCE from libxml2 and libxsltHigh severity | From 1.6.0 before 1.6.8 | 1.6.8 | |
| CVE-2016-4658GHSA-fr52-4hqw-p27f | Nokogiri does not forbid namespace nodes in XPointer rangesCritical severity | Before 1.7.1 | 1.7.1 | |
| CVE-2015-5312GHSA-xjqg-9jvg-fgx2 | Nokogiri subject to DoS via libxml2 vulnerabilityHigh severity | From 1.6.0 before 1.6.7.1 | 1.6.7.1 | |
| CVE-2015-1819GHSA-q7wx-62r7-j2x7 | Nokogiri vulnerable to libxml XML Entity ExpansionModerate severity | From 1.6.6.0 before 1.6.6.4 | 1.6.6.4 | |
| CVE-2017-5029GHSA-pf6m-fxpq-fg8v | Nokogiri implementation of libxslt lacks integer overflow checksHigh severity | Before 1.7.2 | 1.7.2 | |
| CVE-2017-18258GHSA-882p-jqgm-f45g | Uncontrolled resource consumption in nokogiriModerate severity | Before 1.8.2 | 1.8.2 | |
| CVE-2018-8048GHSA-x7rv-cr6v-4vm4 | Cross-site Scripting in loofahModerate severity | Before 1.8.3 | 1.8.3 | |
| CVE-2017-9050GHSA-8c56-cpmw-89x7 | Out-of-bounds read in nokogiriHigh severity | Before 1.8.1 | 1.8.1 |
Other RubyGems gems
- actionview17 advisories
- jquery-rails9 advisories
- rack54 advisories
- rubygems-update25 advisories
Sources
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0