CVE-2026-44312
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
5.8
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-05-14 17:16:22.393000
Last modified
2026-10-26 14:10:00.130000
View original CVE JSON
{
"id": "CVE-2026-44312",
"sourceIdentifier": "[email protected]",
"published": "2026-05-14T17:16:22.393",
"lastModified": "2026-10-26T14:10:00.130",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "css_parser es un analizador CSS de Ruby. Antes de las versiones 2.1.0 y 1.22.0, la gema CSS Parser no valida las conexiones HTTPS, permitiendo a un atacante man-in-the-middle (MitM) inyectar o modificar contenido CSS cuando las hojas de estilo se cargan a través de HTTPS. La conexión se establece con OpenSSL::SSL::VERIFY_NONE, lo que significa que cualquier certificado HTTPS -incluso los completamente no confiables- será aceptado sin validación. Esta vulnerabilidad está corregida en las versiones 2.1.0 y 1.22.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "premailer",
"product": "css_parser",
"versions": [
{
"version": ">= 2.0.0, < 2.1.0",
"status": "affected"
},
{
"version": "< 1.22.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N",
"baseScore": 5.8,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.9,
"impactScore": 1.4
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-15T18:05:24.647346Z",
"id": "CVE-2026-44312",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-295"
},
{
"lang": "en",
"value": "CWE-829"
}
]
}
],
"references": [
{
"url": "https://github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449",
"source": "[email protected]"
},
{
"url": "https://github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18",
"source": "[email protected]"
},
{
"url": "https://github.com/premailer/css_parser/issues/185",
"source": "[email protected]"
},
{
"url": "https://github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc",
"source": "[email protected]"
},
{
"url": "https://github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}