Server-side Request Forgery (SSRF) Affecting css_parser package, versions >=2.2.0, <3.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-CSSPARSER-17705229
  • published30 Jun 2026
  • disclosed29 Jun 2026
  • creditJLLeitschuh

Introduced: 29 Jun 2026

NewCVE-2026-53727  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade css_parser to version 3.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the read_remote_file function. An attacker can access internal network resources or disclose arbitrary local files by supplying a crafted CSS file containing a malicious @import url(...) directive, which is processed without proper scheme or host filtering, allowing HTTP redirects to file URIs.

CVSS Base Scores

version 4.0
version 3.1