Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-53727

Type: advisorySource: OSV1 source record

css_parser is a Ruby CSS parser. From 2.2.0 until 3.0.0, CssParser::Parser#read_remote_file in lib/css_parser/parser.rb, and therefore load_uri! and the @import-following branch of add_block!, issued HTTP and HTTPS requests against any host, port, and URI without a scheme allowlist, host or IP filtering, or protection against link-local, loopback, or RFC-1918 addresses. Location: redirects were followed recursively back into the same function, which also serviced file:// URIs, so a single attacker-controlled HTTP redirect could upgrade the bug from SSRF to arbitrary local file disclosure. Any consumer of css_parser that hands it attacker-influenced CSS together with a base_uri: option is exposed. This issue is fixed in version 3.0.0.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-53727

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-53727

ruby-css-parser

Source reference: /affected/0/package/name

Affected versions
1.16.0-1

Source reference: /affected/0/versions

1.19.0-1

Source reference: /affected/0/versions

1.21.1-1

Source reference: /affected/0/versions

1.6.0-2

Source reference: /affected/0/versions

1.6.0-2+deb12u1

Source reference: /affected/0/versions

2.0.0-1

Source reference: /affected/0/versions

2.1.0-1

Source reference: /affected/0/versions

3.0.0-1

Source reference: /affected/0/versions

3.1.0-1

Source reference: /affected/0/versions

3.3.0-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

ruby-css-parser

Source reference: /affected/1/package/name

Affected versions
1.19.0-1

Source reference: /affected/1/versions

1.19.0-1+deb13u1

Source reference: /affected/1/versions

1.21.1-1

Source reference: /affected/1/versions

2.0.0-1

Source reference: /affected/1/versions

2.1.0-1

Source reference: /affected/1/versions

3.0.0-1

Source reference: /affected/1/versions

3.1.0-1

Source reference: /affected/1/versions

3.3.0-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

ruby-css-parser

Source reference: /affected/2/package/name

Affected versions
1.19.0-1

Source reference: /affected/2/versions

1.21.1-1

Source reference: /affected/2/versions

2.0.0-1

Source reference: /affected/2/versions

2.1.0-1

Source reference: /affected/2/versions

Fixed versions
3.0.0-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "ruby-css-parser",
      "purl": "pkg:deb/debian/ruby-css-parser?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "1.16.0-1",
      "1.19.0-1",
      "1.21.1-1",
      "1.6.0-2",
      "1.6.0-2+deb12u1",
      "2.0.0-1",
      "2.1.0-1",
      "3.0.0-1",
      "3.1.0-1",
      "3.3.0-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-53727.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "ruby-css-parser",
      "purl": "pkg:deb/debian/ruby-css-parser?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "1.19.0-1",
      "1.19.0-1+deb13u1",
      "1.21.1-1",
      "2.0.0-1",
      "2.1.0-1",
      "3.0.0-1",
      "3.1.0-1",
      "3.3.0-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-53727.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3.0.0-1"
          }
        ]
      }
    ],
    "package": {
      "name": "ruby-css-parser",
      "purl": "pkg:deb/debian/ruby-css-parser?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "1.19.0-1",
      "1.21.1-1",
      "2.0.0-1",
      "2.1.0-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-53727.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#57339 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement