Skip to main content
← All vulnerabilities
CVE-2026-44312GHSA-FF6C-W6QF-7XQC

css_parser allows to MITM included https css urls

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.0, 1.22.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • premailer css_parser

    From 2.0.0 · fixed in 2.1.0; fixed in 1.22.0

  • css_parserRubyGems

    From 2.0.0 · fixed in 2.1.0

  • css_parserRubyGems

    fixed in 1.22.0

References 4

GitHub · premailer/css_parser