CVEfocus › CVE database › CVE-2026-44312

CVE-2026-44312css_parser allows to MITM included https css urls

CVSS 5.8 MediumEPSS 0.2% (higher than 9% of CVEs)Published 2026-05-14Updated 2026-05-15Assigner: GitHub_M

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.

CWE-295CWE-829

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ruby-css-parserFix pendingUBUNTU-CVE-2026-44312
Ubuntu 26.04ruby-css-parserUnder investigationUBUNTU-CVE-2026-44312
Ubuntu 25.10ruby-css-parserWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-44312
Ubuntu 24.04ruby-css-parserUnder investigationUBUNTU-CVE-2026-44312
Ubuntu 22.04ruby-css-parserUnder investigationUBUNTU-CVE-2026-44312
Ubuntu 20.04ruby-css-parserFix pendingUBUNTU-CVE-2026-44312
Ubuntu 18.04ruby-css-parserFix pendingUBUNTU-CVE-2026-44312
Ubuntu 16.04ruby-css-parserFix pendingUBUNTU-CVE-2026-44312
Debian 14ruby-css-parserFixed2.1.0-1DEBIAN-CVE-2026-44312
Debian 13ruby-css-parserFixed1.19.0-1+deb13u1DEBIAN-CVE-2026-44312
Debian 12ruby-css-parserFixed1.6.0-2+deb12u1DEBIAN-CVE-2026-44312
RubyGems librarycss_parserFixed1.22.0GHSA-ff6c-w6qf-7xqc

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.