cve.bz

CVE-2026-44312 premailer css parser: Improper Certificate Validation

5.8 mediumEPSS 0.1%Fix available

Medium (5.8) in premailer css parser. EPSS 0.1% estimated probability of exploitation activity in the next 30 days. Fixed in css_parser 1.22.0, 2.1.0.

On this page
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.

Severity

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
EPSS
0.1% (unchanged from 0.1% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-05-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-295 Improper Certificate Validation
CWE-829 Inclusion of Functionality from Untrusted Control Sphere
OWASP Top 10
A07:2025 Authentication Failures, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-44312 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-44312?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-44312?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-44312 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
premailer css_parser>= 2.0.0, < 2.1.0
premailer css_parser< 1.22.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-ff6c-w6qf-7xqcRubyGemscss_parser>=2.0.0 <2.1.02.1.0
GHSA-ff6c-w6qf-7xqcRubyGemscss_parser<1.22.01.22.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ruby-css-parser1.6.0-2+deb12u1DEBIAN-CVE-2026-44312
Debian13ruby-css-parser1.19.0-1+deb13u1DEBIAN-CVE-2026-44312
Debian14ruby-css-parser2.1.0-1DEBIAN-CVE-2026-44312
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moreruby-css-parserno fix listedUBUNTU-CVE-2026-44312

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

css_parser is vulnerable to MITM modification of HTTPS-fetched stylesheets because it disables TLS certificate verification (VERIFY_NONE). A remote network attacker positioned on the path can alter CSS content delivered to consumers that load remote stylesheets through the gem. Fixed in css_parser 2.1.0 and 1.22.0.

ProductPackageStateAdvisory
Red Hat 3scale API Management Platform 23scale-amp21/systemFix deferred
Red Hat 3scale API Management Platform 23scale-amp22/systemFix deferred
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-44312.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).

References

Check your stackJSON