nokogiri
RubyGems package
Overview
Package versions
| Versions | Range | Direct vulnerabilities |
|---|---|---|
| 1.19.5 | and later versions | 0C0H0M0L |
| 1.19.4 | up to 1.19.5 | 0C0H0M3L |
| 1.19.3 | up to 1.19.4 | 0C0H1M10L |
| 1.19.1 | up to 1.19.3 | 0C1H2M10L |
| 1.18.9 | up to 1.19.1 | 0C1H3M10L |
| 1.18.8 | up to 1.18.9 | 1C1H3M10L |
| 1.18.4 | up to 1.18.8 | 1C1H3M11L |
| 1.18.3 | up to 1.18.4 | 1C2H3M11L |
| 1.16.5 | up to 1.18.3 | 1C2H3M12L |
| 1.16.2 | up to 1.16.5 | 1C2H3M13L |
| 1.16.0 | up to 1.16.2 | 1C2H4M13L |
| 1.15.6 | up to 1.16.0 | 1C2H3M13L |
| 1.14.3 | up to 1.15.6 | 1C2H4M13L |
| 1.13.10 | up to 1.14.3 | 1C2H5M13L |
| 1.13.9 | up to 1.13.10 | 1C3H5M13L |
| 1.13.8 | up to 1.13.9 | 1C3H6M13L |
| 1.13.6 | up to 1.13.8 | 1C2H6M13L |
| 1.13.5 | up to 1.13.6 | 1C3H6M13L |
| 1.13.4 | up to 1.13.5 | 1C4H6M13L |
| 1.13.2 | up to 1.13.4 | 1C8H7M13L |
| 1.12.5 | up to 1.13.2 | 1C10H7M13L |
| 1.12.0 | up to 1.12.5 | 1C11H7M13L |
| 1.11.4 | up to 1.12.0 | 1C11H7M12L |
| 1.11.0 | up to 1.11.4 | 1C14H8M12L |
| 1.10.8 | up to 1.11.0 | 1C14H9M12L |
| 1.10.5 | up to 1.10.8 | 1C15H9M12L |
| 1.10.4 | up to 1.10.5 | 1C17H11M12L |
| 1.10.3 | up to 1.10.4 | 2C17H11M12L |
| 1.8.5 | up to 1.10.3 | 3C17H11M12L |
| 1.8.3 | up to 1.8.5 | 3C18H11M12L |
| 1.8.2 | up to 1.8.3 | 3C18H12M12L |
| 1.8.1 | up to 1.8.2 | 3C19H13M12L |
| 1.7.2 | up to 1.8.1 | 3C21H13M12L |
| 1.7.1 | up to 1.7.2 | 3C22H13M12L |
| 1.6.8 | up to 1.7.1 | 4C22H13M12L |
| 1.6.7.2 | up to 1.6.8 | 4C23H13M12L |
| 1.6.7.1 | up to 1.6.7.2 | 4C23H14M12L |
| 1.6.6.4 | up to 1.6.7.1 | 4C24H14M12L |
| 1.6.6.0 | up to 1.6.6.4 | 4C24H15M12L |
| 1.6.1 | up to 1.6.6.0 | 4C24H14M12L |
| 1.6.0 | up to 1.6.1 | 4C24H16M12L |
| 1.5.11 | up to 1.6.0 | 4C22H13M12L |
| 1.5.4 | up to 1.5.11 | 4C22H15M12L |
| 1.5.1 | up to 1.5.4 | 4C23H15M12L |
| 1.5.0 | up to 1.5.1 | 4C23H14M12L |
| before 1.5.0 | all earlier versions | 4C23H12M12L |
No known vulnerabilities in 1.19.5 and later versions
Nothing in our data affects this version.
46 ranges in total. Each row is a range of versions with the same vulnerabilities, newest first. The data names only the versions where something changes (first affected, fixed), so the versions in between are a range.
Vulnerabilities · 66
| CVE | Severity | Published | Vulnerable | Fixed in |
|---|---|---|---|---|
| CVE-2026-126064nokogiri: nokogiri: Denial of Service via use-after-free when replacing attribute values | LOW | 10 Nov 2026 | <1.19.5 | 1.19.5 |
| CVE-2026-126063nokogiri: nokogiri: Cross-site scripting via unescaped content in HTML5 serializer | LOW | 10 Nov 2026 | >=1.12.0, <1.19.5 | 1.19.5 |
| CVE-2026-126062nokogiri: nokogiri: Server-Side Request Forgery via network restriction bypass on JRuby | LOW | 10 Nov 2026 | <1.19.5 | 1.19.5 |
| CVE-2026-79772nokogiri: Nokogiri: Signature validation bypass via unchecked return value | MEDIUM | 25 Aug 2026 | >=1.5.1, <1.19.1 | 1.19.1 |
| CVE-2026-79771nokogiri: Nokogiri: Denial of Service via XSLT transform memory leak | MEDIUM | 25 Aug 2026 | <1.19.3 | 1.19.3 |
| CVE-2026-79770nokogiri: Nokogiri: Denial of Service via crafted CSS selectors | HIGH | 25 Aug 2026 | <1.19.3 | 1.19.3 |
| GHSA-PHWJ-RPRQ-35PPNokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Attr#value=` or `#content=` | LOW | 19 Jun 2026 | <1.19.4 | 1.19.4 |
| GHSA-WFPW-MMFH-QQ69Nokogiri: Possible Use-After-Free in XInclude Processing | LOW | 19 Jun 2026 | <1.19.4 | 1.19.4 |
| GHSA-P67V-3W7G-WJG7Nokogiri: Possible Use-After-Free when directly using `NokogirI::XML::XPathContext` beyond document lifetime | LOW | 19 Jun 2026 | <1.19.4 | 1.19.4 |
| GHSA-WJV4-X9W8-WM3HNokogiri: Possible Use-After-Free when setting `Document#root=` to an invalid node type | LOW | 19 Jun 2026 | <1.19.4 | 1.19.4 |
| GHSA-5PRR-V3J2-97MHNokogiri: Possible Out-of-Bounds Read in `Nokogiri::XML::NodeSet#[]` | MEDIUM | 19 Jun 2026 | <1.19.4 | 1.19.4 |
| GHSA-9CV2-CFXC-V4V2Nokogiri: Null Pointer Dereference calling methods on uninitialized wrapper classes | LOW | 19 Jun 2026 | <1.19.4 | 1.19.4 |
| GHSA-8678-W3JW-XFC2Nokogiri: XML::Schema on JRuby allows network requests when NONET is set, bypassing CVE-2020-26247 | LOW | 19 Jun 2026 | <1.19.4 | 1.19.4 |
| GHSA-5V8H-3H3Q-446PNokogiri: Possible Use-After-Free when `Nokogiri::XML::Document#encoding=` raises an exception | LOW | 19 Jun 2026 | <1.19.4 | 1.19.4 |
| GHSA-353F-X4GH-CQQ8Nokogiri patches vendored libxml2 to resolve multiple CVEs | CRITICAL | 21 Jul 2025 | <1.18.9 | 1.18.9 |
| GHSA-5W6V-399V-W3CCNokogiri updates packaged libxml2 to v2.13.8 to resolve CVE-2025-32414 and CVE-2025-32415 | LOW | 21 Apr 2025 | <1.18.8 | 1.18.8 |
| GHSA-MRXW-MXHJ-P664Nokogiri updates packaged libxslt to v1.1.43 to resolve multiple CVEs | HIGH | 14 Mar 2025 | <1.18.4 | 1.18.4 |
| GHSA-VVFQ-8HWR-QM4MNokogiri updates packaged libxml2 to 2.13.6 to resolve CVE-2025-24928 and CVE-2024-56171 | LOW | 18 Feb 2025 | <1.18.3 | 1.18.3 |
| GHSA-R95H-9X8F-R3F7Nokogiri updates packaged libxml2 to v2.12.7 to resolve CVE-2024-34459 | LOW | 13 May 2024 | <1.16.5 | 1.16.5 |
| GHSA-XC9X-JJ77-9P9JUse-after-free in libxml2 via Nokogiri::XML::Reader | MEDIUM | 5 Feb 2024 | >=1.16.0, <1.16.2<1.15.6 | 1.16.21.15.6~> 1.15.6 |
| GHSA-PXVG-2QJ5-37JQUpdate packaged libxml2 to v2.10.4 to resolve multiple CVEs | MEDIUM | 11 Apr 2023 | <1.14.3 | 1.14.3 |
| CVE-2022-23476rubygem-nokogiri: Denial of service | HIGH | 8 Dec 2022 | >=1.13.8, <1.13.10 | 1.13.10 |
| GHSA-2QC6-MCVW-92CWUpdate bundled libxml2 to v2.10.3 to resolve multiple CVEs | MEDIUM | 18 Oct 2022 | <1.13.9 | 1.13.9 |
| CVE-2022-29181rubygem-nokogiri: Improper Handling of Unexpected Data Type in Nokogiri | HIGH | 20 May 2022 | <1.13.6 | 1.13.6 |
| GHSA-CGX6-HPWQ-FHV5Integer Overflow or Wraparound in libxml2 affects Nokogiri | HIGH | 18 May 2022 | <1.13.5 | 1.13.5 |
| CVE-2022-24839nokogiri: Uncontrolled Resource Consumption in org.cyberneko.html (nokogiri fork) | HIGH | 11 Apr 2022 | — | 1.13.4 |
| CVE-2022-24836nokogiri: ReDoS in HTML encoding detection | HIGH | 11 Apr 2022 | <1.13.4 | 1.13.4 |
| GHSA-GX8X-G87M-H5Q6Denial of Service (DoS) in Nokogiri on JRuby | HIGH | 11 Apr 2022 | <1.13.4 | 1.13.4 |
| GHSA-XXX9-3XCR-GJJ3XML Injection in Xerces Java affects Nokogiri | MEDIUM | 11 Apr 2022 | <1.13.4 | 1.13.4 |
| GHSA-V6GP-9MMM-C6P5Out-of-bounds Write in zlib affects Nokogiri | HIGH | 11 Apr 2022 | <1.13.4 | 1.13.4 |
| CVE-2018-25032zlib: A flaw found in zlib when compressing (not decompressing) certain inputs | HIGH | 25 Mar 2022 | <1.13.4 | 1.13.4 |
| GHSA-FQ42-C5RG-92C2Vulnerable dependencies in Nokogiri | HIGH | 25 Feb 2022 | <1.13.2 | 1.13.2 |
| CVE-2022-23437xerces-j2: infinite loop when handling specially crafted XML document payloads | MEDIUM | 24 Jan 2022 | — | 1.13.4 |
| CVE-2021-41098rubygem-nokogiri: XEE on JRuby | HIGH | 27 Sep 2021 | <1.12.5 | 1.12.5 |
| CVE-2021-30560Use after free in Blink XSLT in Google Chrome prior to 91.0.4472.164 a ... | HIGH | 3 Aug 2021 | <1.13.2 | 1.13.2 |
| CVE-2021-3517libxml2: Heap-based buffer overflow in xmlEncodeEntitiesInternal() in entities.c | HIGH | 19 May 2021 | <1.11.4 | 1.11.4 |
| CVE-2021-3518libxml2: Use-after-free in xmlXIncludeDoProcess() in xinclude.c | HIGH | 18 May 2021 | <1.11.4 | 1.11.4 |
| GHSA-7RRM-V45F-JP64Update packaged dependency libxml2 from 2.9.10 to 2.9.12 | HIGH | 17 May 2021 | <1.11.4 | 1.11.4 |
| CVE-2021-3537libxml2: NULL pointer dereference when post-validating mixed content parsed in recovery mode | MEDIUM | 14 May 2021 | <1.11.4 | 1.11.4 |
| CVE-2020-26247rubygem-nokogiri: XML external entity injection via Nokogiri::XML::Schema | MEDIUM | 30 Dec 2020 | <1.11.0 | 1.11.01.11.0.rc4 |
| CVE-2012-6685rubygem-nokogiri: XML eXternal Entity (XXE) flaw | HIGH | 19 Feb 2020 | <1.5.4 | 1.5.4 |
| CVE-2020-7595libxml2: infinite loop in xmlStringLenDecodeEntities in some end-of-file situations | HIGH | 21 Jan 2020 | <1.10.8 | 1.10.8 |
| CVE-2019-5815chromium-browser: Heap buffer overflow in Blink | HIGH | 11 Dec 2019 | <1.10.5 | 1.10.5 |
| CVE-2013-6461rubygem-nokogiri: DoS while parsing XML entities | MEDIUM | 5 Nov 2019 | >=1.5.0, <1.5.11>=1.6.0, <1.6.1 | 1.5.111.6.1~> 1.5.11 |
| CVE-2013-6460rubygem-nokogiri: DoS while parsing XML documents | MEDIUM | 5 Nov 2019 | >=1.5.0, <1.5.11>=1.6.0, <1.6.1 | 1.5.111.6.1~> 1.5.11 |
| CVE-2019-18197libxslt: use after free in xsltCopyText in transform.c could lead to information disclosure | HIGH | 18 Oct 2019 | <1.10.5 | 1.10.5 |
| CVE-2019-5477A command injection vulnerability in Nokogiri v1.10.3 and earlier allo ... | CRITICAL | 16 Aug 2019 | <1.10.4 | 1.10.4 |
| CVE-2019-13118libxslt: read of uninitialized stack data due to too narrow xsl:number instruction and an invalid character | MEDIUM | 1 Jul 2019 | <1.10.5 | 1.10.5 |
| CVE-2019-13117libxslt: an xsl number with certain format strings could lead to a uninitialized read in xsltNumberFormatInsertNumbers | MEDIUM | 1 Jul 2019 | <1.10.5 | 1.10.5 |
| CVE-2019-11068libxslt: xsltCheckRead and xsltCheckWrite routines security bypass by crafted URL | CRITICAL | 10 Apr 2019 | <1.10.3 | 1.10.3 |
| CVE-2017-15412libxml2: Use after free in xmlXPathCompOpEvalPositionalPredicate() function in xpath.c | HIGH | 28 Aug 2018 | <1.8.2 | 1.8.2 |
| CVE-2018-14404libxml2: NULL pointer dereference in xmlXPathCompOpEval() function in xpath.c | HIGH | 19 Jul 2018 | <1.8.5 | 1.8.5 |
| CVE-2017-18258libxml2: Unrestricted memory usage in xz_head() function in xzlib.c | MEDIUM | 8 Apr 2018 | <1.8.2 | 1.8.2 |
| CVE-2018-8048rubygem-loofah: XSS vulnerability due to unescaped comments within attributes by libxml2 | MEDIUM | 27 Mar 2018 | <1.8.3 | 1.8.3 |
| CVE-2017-16932libxml2: Infinite recursion in parameter entities | HIGH | 23 Nov 2017 | <1.8.1 | 1.8.1 |
| CVE-2017-9050libxml2: Heap-based buffer over-read in function xmlDictAddString | HIGH | 18 May 2017 | <1.8.1 | 1.8.1 |
| CVE-2017-5029chromium-browser: integer overflow in libxslt | HIGH | 24 Apr 2017 | <1.7.2 | 1.7.2 |
| CVE-2016-4658libxml2: Use after free via namespace node in XPointer ranges | CRITICAL | 25 Sep 2016 | <1.7.1 | 1.7.1 |
| CVE-2015-8806libxml2: heap-buffer overread in dict.c | HIGH | 13 Apr 2016 | >=1.6.0, <1.6.8 | 1.6.8 |
| CVE-2015-7499libxml2: Heap-based buffer overflow in xmlGROW | MEDIUM | 15 Dec 2015 | >=1.6.0, <1.6.7.2 | 1.6.7.2 |
| CVE-2015-5312libxml2: CPU exhaustion when processing specially crafted XML input | HIGH | 15 Dec 2015 | >=1.6.0, <1.6.7.1 | 1.6.7.1 |
| CVE-2015-1819libxml2: denial of service processing a crafted XML document | MEDIUM | 14 Aug 2015 | >=1.6.6.0, <1.6.6.4 | 1.6.6.4~> 1.6.6.41.6.7.rc4 |
| GHSA-V995-44V6-5FQMPossible SSRF on JRuby when resolving external DTDs or entities with `NONET` set | LOW | No date | — | 1.19.5 |
| GHSA-G9G8-VGVW-G3VFPossible invalid memory read when calling `Nokogiri::XML::Node#initialize_copy_with_args` with incorrect argument type | UNKNOWN | No date | — | 1.19.4 |
| GHSA-4P39-36WJ-23H4Possible Mutation XSS when serializing `noscript` content in `Nokogiri::HTML5` documents | UNKNOWN | No date | — | 1.19.5 |
| GHSA-3W22-6JFG-527WUse-After-Free in Nokogiri when replacing an attribute value | UNKNOWN | No date | — | 1.19.5 |
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.