CVE-2026-53727 json
css_parser: SSRF and Local File Disclosure in `CssParser::Parser#read_remote_file`
published 2026-07-09 4 mo ago modified 2026-10-24 15 d ago also GHSA-9pmc-p236-855h , EUVD-2026-45324
- cvss
- 8.6
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-53727 updated cvss 8.6
css_parser: css_parser: Arbitrary local file disclosure via Server-Side Request Forgery
-
Red Hat 3scale API Management Platform 2 3scale-amp21/system, 3scale-amp22/system, 3scale-amp2/system-rhel7, 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9not affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/premailer/css_parser/security/advisories/GHSA-9pmc-p236-855h referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.9 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N |
| CNA | 4.0 | 8.9 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | css_parser | <3.0.0 |
3.0.0 |
Affected products
- premailer css_parser
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/premailer/css_parser/commit/7d2ddf0189cd54b54f378f59daefa10cb036e476
patch
-
github.com
/premailer/css_parser/commit/e0a151458b2a801ae265ba420862ef8b1127b3ae
patch
-
github.com
/premailer/css_parser/security/advisories/GHSA-9pmc-p236-855h
exploit, web, mitigation, vendor-advisory
-
github.com
/premailer/css_parser/releases/tag/v3.0.0
product
-
github.com
/premailer/css_parser
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/css_parser/CVE-2026-53727.yml
web
-
cve.org
/CVERecord/SearchResults?query=CVE-2026-53727
web
Sources
- CVE List CVE-2026-53727
- GitHub Advisory GHSA-9pmc-p236-855h
- NVD CVE-2026-53727
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.