CVE-2026-44312
published medium CVSS 3.1 · 5.8css_parser allows to MITM included https css urls
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| premailer | — | css_parser>= 2.0.0, < 2.1.0 · < 1.22.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| premailer | css_parser | >= 2.0.0, < 2.1.0 (affected)< 1.22.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere
- CWE-295 CWE-295: Improper Certificate Validation
References
4- https://github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449
- https://github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18
- https://github.com/premailer/css_parser/issues/185
- https://github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc
Provider assertions
2GitHub_M · cna
css_parser allows to MITM included https css urls
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c070803f285c88bca3e6e57ca774b1e2a8b39764710d778cc6edd4b36fcd992f
- Ingested
- 23 Sep 2026, 09:15:17 UTC
- Source record
- Official CVE record