Skip to content
Heist/ feed
Back to feed
MediumFix available

ruby-nokogiri — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2020-26247

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 behavior is counter to the security policy followed by Nokogiri maintainers, which is to treat all input as untrusted by default whenever possible. This is fixed in Nokogiri version 1.11.0.rc4.

Products
ruby-nokogiri
Affected versions
Not specified
Fixed versions
1.11.1+dfsg-1
CVEs
CVE-2020-26247
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:50 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-26247

core-osv · Original source

Published 30 Dec 2020, 19:15 UTC

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 behavior is counter to the security policy followed by Nokogiri maintainers, which is to treat all input as untrusted by default whenever possible. This is fixed in Nokogiri version 1.11.0.rc4.

osv:DEBIAN-CVE-2020-26247

ruby-nokogiri

Fixed versions: 1.11.1+dfsg-1

ruby-nokogiri

Fixed versions: 1.11.1+dfsg-1

ruby-nokogiri

Fixed versions: 1.11.1+dfsg-1

Complete source record
{
  "id": "dcfdf3b0b4a6b7764a2ee793d9655a95890efdc220d6de13f5d080da83a43b85",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-26247",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-26247",
    "summary": "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 behavior is counter to the security policy followed by Nokogiri maintainers, which is to treat all input as untrusted by default whenever possible. This is fixed in Nokogiri version 1.11.0.rc4.",
    "evidence": "osv:DEBIAN-CVE-2020-26247",
    "products": [
      {
        "name": {
          "value": "ruby-nokogiri",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.11.1+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ruby-nokogiri",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.11.1+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ruby-nokogiri",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.11.1+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2020-26247",
      "aliases": [
        "DEBIAN-CVE-2020-26247"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.11.1+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-nokogiri",
            "purl": "pkg:deb/debian/ruby-nokogiri?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-26247.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.11.1+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-nokogiri",
            "purl": "pkg:deb/debian/ruby-nokogiri?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-26247.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.11.1+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-nokogiri",
            "purl": "pkg:deb/debian/ruby-nokogiri?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-26247.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        }
      ],
      "modified": "2026-10-26T12:01:06.492961978Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-26247"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-26247"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-26247",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 451460,
  "published_at": "2020-12-30T19:15:12.92+00:00"
}