CVE-2026-53727CWE-918ssrf

CVE-2026-53727

High · published July 18, 2026

CVSS v3.1
8.6
EPSS
1%
Percentile
42.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00506 · 42.3th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2026-07-18T01:17Z
Affected products (1)
ProductVersionsFixed in
premailer/css_parserall versions—
References (5)
EPSS history
Timeline
  • 17 JUL 20:30Z
    css_parser: SSRF and Local File Disclosure in `CssParser::Parser#read_remote_file`
    cvelistv5