CVE-2026-44312: css_parser is a Ruby CSS parser
Affects ruby-css-parserSource GCVE Database
Not known to be exploited · CVSS 5.8 Medium · fixed in 2.1.0 : update ruby-css-parser when convenient.
Data as of 24 Nov 2026, 20:30 UTC
- Patch
- Available – fixed in 2.1.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ruby-css-parserpkg:deb/ubuntu/ruby-css-parser?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSruby-css-parserpkg:deb/ubuntu/ruby-css-parser?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10ruby-css-parserpkg:deb/ubuntu/ruby-css-parser?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSruby-css-parserpkg:deb/ubuntu/ruby-css-parser?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSruby-css-parserpkg:deb/ubuntu/ruby-css-parser?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSruby-css-parserpkg:deb/ubuntu/ruby-css-parser?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-44312 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-44312 (opens in a new tab)
- github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc (opens in a new tab)
- github.com/premailer/css_parser/issues/185 (opens in a new tab)
- github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449 (opens in a new tab)
- github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18 (opens in a new tab)