Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

CVE-2026-44312: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in premailer css_parser

0
Medium
VulnerabilityCVE-2026-44312cvecve-2026-44312cwe-829cwe-295
Published: 05/14/2026 (05/14/2026, 16:15:04 UTC)
Source: CVE Database V5
Vendor/Project: premailer
Product: css_parser

Description

The css_parser Ruby gem versions prior to 2.1.0 and 1.22.0 do not validate HTTPS certificates when loading stylesheets, accepting any certificate without verification. This allows a man-in-the-middle attacker to inject or modify CSS content by exploiting the lack of HTTPS certificate validation. The vulnerability is fixed in versions 2.1.0 and 1.22.

CVSS v3.1

Score 5.8medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

Affected software

css_parser
pkg:gem/css_parser
Affected versions
<1.22.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/22/2026, 15:34:42 UTC

Technical Analysis

The css_parser gem for Ruby, used to parse CSS, establishes HTTPS connections with OpenSSL::SSL::VERIFY_NONE prior to versions 2.1.0 and 1.22.0. This means it does not validate the authenticity of HTTPS certificates, allowing an attacker positioned as a man-in-the-middle to inject or alter CSS content during stylesheet loading. This vulnerability is classified under CWE-829 (Inclusion of Functionality from Untrusted Control Sphere) and CWE-295 (Improper Certificate Validation). The issue is resolved in css_parser versions 2.1.0 and 1.22.0.

Potential Impact

An attacker capable of intercepting HTTPS traffic can modify or inject malicious CSS content due to the lack of certificate validation. This can lead to integrity issues in the CSS content loaded by applications using vulnerable versions of css_parser. There is no direct confidentiality or availability impact reported. The CVSS score is 5.8 (medium severity), reflecting the network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to integrity.

Mitigation Recommendations

Upgrade css_parser to version 2.1.0 or later, or 1.22.0 or later, where proper HTTPS certificate validation is implemented. No other mitigations are indicated as the vulnerability is fixed in these versions. Patch status is confirmed by the vendor advisory stating the fix is included in these releases.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-05T19:00:06.022Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a05fd9fec166c07b0f93177

Added to database: 05/14/2026, 16:51:43 UTC

Last enriched: 05/22/2026, 15:34:42 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 72

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses