CVE-2026-44312 — Vulnerability in css_parser — CVE Details
CSS Parser: Improper Certificate Validation allows MITM injection of remote CSS content
Summary
Advisory Timeline
- First published May 7, 2026 (158 days ago).
- Last revised June 8, 2026 — 33 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install css_parser -v 1.22.0
gem install css_parser -v 2.1.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| css_parser | rubygems | 0.9.0, 0.9.1, 1.0.0, 1.0.1 (+56 more) | 1.22.0 |
| css_parser | rubygems | 2.0.0 | 2.1.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-295Improper Certificate ValidationMITRE
- CWE-829
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.8 score means for each attack dimension.
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-7xqcWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44312ADVISORY
- https://github.com/premailer/css_parser/issues/185WEB
- https://github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449WEB
- https://github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18WEB
- https://github.com/premailer/css_parserPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/css_parser/CVE-2026-44312.ymlWEB
Frequently Asked Questions
- What is CVE-2026-44312?
- CSS Parser: Improper Certificate Validation allows MITM injection of remote CSS content This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.8/10).
- How do I check if my project is affected by CVE-2026-44312?
- CVE-2026-44312 affects css_parser. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44312 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-53727HIGH
Ruby CSS Parser: SSRF and Local File Disclosure in `CssParser::Parser#read_remote_file`
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies