HIGHVulnerability

CVE-2026-53727

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.

Properties

summary
Ruby CSS Parser: SSRF and Local File Disclosure in `CssParser::Parser#read_remote_file`
severity
HIGH
epss_score
0.00365
ghsa_published
2026-07-09T13:43:13Z
source_url
https://github.com/advisories/GHSA-9pmc-p236-855h
ghsa_updated
2026-07-09T13:43:14Z
ghsa_id
GHSA-9pmc-p236-855h
score
8.6
cve_id
CVE-2026-53727
is_ghsa_only
false
vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
published_at
2026-07-17T21:17:07.837
last_modified
2026-08-18T15:33:09.203
epss_percentile
0.29761

Related Entities (7)

DESCRIBED_BY (1)

[Source]NVD

AFFECTS_PRODUCT (1)

[Product]

ENRICHED_BY (1)

[Source]FIRST EPSS

VULNERABLE_TO (1)

[Software]rubygems/css_parser

AFFECTS (1)

[Software]rubygems/css_parser

HAS_WEAKNESS (1)

[Weakness]Server-Side Request Forgery (SSRF)

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-53727 — Ninja Signal Threat Intelligence | Ninja Signal