Unsafe Dependency Resolution Affecting css_parser package, versions <1.22.0>=2.0.0, <2.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (7th percentile)

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 IDSNYK-RUBY-CSSPARSER-16624712
  • published10 May 2026
  • disclosed7 May 2026
  • creditJLLeitschuh

Introduced: 7 May 2026

NewCVE-2026-44312  (opens in a new tab)
CWE-295  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade css_parser to version 1.22.0, 2.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Unsafe Dependency Resolution due to improper validation of HTTPS certificates in the parser process. An attacker can inject or modify remote CSS content by performing a man-in-the-middle attack during stylesheet loading over HTTPS.

CVSS Base Scores

version 4.0
version 3.1