CVE-2026-44312premailer css_parser
Medium 5.8 No auth needed
Follow: this CVE · premailer · premailer css_parser We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.8
- EPSS
- —
- Auth required
- No
- Published
- May 14, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for css_parser.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | css_parser |
≥ 2.0.0 < 2.1.0 |
2.1.0 |
gem "css_parser", ">= 2.1.0" |
| RubyGems | css_parser |
< 1.22.0 |
1.22.0 |
gem "css_parser", ">= 1.22.0" |
Per OSV / GitHub Advisories (GHSA-ff6c-w6qf-7xqc). Check the version in your lockfile before upgrading.
Affected products
- premailer · css_parser
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.