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.
Description as published by the source, in English.
Key facts
Published
2026-05-14
Last modified
2026-10-26
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Scored by
security-advisories@github.com
Probability of exploitation
0.1 %
higher than 4 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK.
This shows which techniques the weakness class is historically used for.
It does not assert that this vulnerability has been exploited that way.
T1055: Process Injection stealth, privilege-escalation
T1176: Software Extensions persistence
T1195.001: Compromise Software Dependencies and Development Tools initial-access