CVE-2026-44312

MEDIUM

css_parser allows to MITM included https css urls

Title source: cna
STIX 2.1

Description

css_parser is a Ruby CSS parser. Prior to 2.1.0 and 1.22.0, the CSS Parser gem does not validate HTTPS connections, allowing a Man-in-the-Middle (MITM) attacker to inject or modify CSS content when stylesheets are loaded via HTTPS. The connection is established with OpenSSL::SSL::VERIFY_NONE, meaning any HTTPS certificate—even entirely untrusted—will be accepted without validation. This vulnerability is fixed in 2.1.0 and 1.22.0.

Scores

CVSS v3 5.8
EPSS 0.0002
EPSS Percentile 6.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-295 CWE-829
Status published
Products (4)
premailer/css_parser < 1.22.0
premailer/css_parser >= 2.0.0, < 2.1.0
rubygems/css_parser 0 - 1.22.0RubyGems
rubygems/css_parser 2.0.0 - 2.1.0RubyGems
Published May 14, 2026
Tracked Since May 14, 2026