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

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-07T02:06:49.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-ff6c-w6qf-7xqc
- Weaknesses: CWE-295, CWE-829
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- premailer css_parser: >= 2.0.0, < 2.1.0; < 1.22.0
- css_parser (RubyGems): from 2.0.0 before 2.1.0; before 1.22.0

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`

## References

- <https://github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc> (exploit, web)
- <https://github.com/premailer/css_parser/issues/185> (web)
- <https://github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449> (web)
- <https://github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44312> (advisory)
- <https://github.com/premailer/css_parser> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/css_parser/CVE-2026-44312.yml> (web)

## Sources

- CVE List: [CVE-2026-44312](https://www.cve.org/CVERecord?id=CVE-2026-44312), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-ff6c-w6qf-7xqc](https://github.com/advisories/GHSA-ff6c-w6qf-7xqc), CC-BY-4.0, modified 2026-06-08
- NVD: [CVE-2026-44312](https://nvd.nist.gov/vuln/detail/CVE-2026-44312), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44312 · Whole record: https://cve.day/CVE-2026-44312.json · Rebuilt by cve.day 2026-11-25T22:59:21.729Z
