{"id":"CVE-2026-44312","published":"2026-05-14T16:15:04Z","modified":"2026-05-15T18:05:54Z","title":"css_parser allows to MITM included https css urls","vendor":"premailer","product":"css_parser","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00241,"percentile":0.09148,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"},{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/premailer/css_parser/issues/185","tags":["x_refsource_MISC"]},{"url":"https://github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449","tags":["x_refsource_MISC"]},{"url":"https://github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18","tags":["x_refsource_MISC"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":1.83},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"premailer","affectedVersions":[{"vendor":"premailer","product":"css_parser","versions":[">= 2.0.0, < 2.1.0","< 1.22.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-15T18:05:24.647346Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"css_parser","vulnerableRanges":[">=2.0.0, <2.1.0","<1.22.0"],"patched":["2.1.0","1.22.0"],"from":["GHSA-ff6c-w6qf-7xqc"],"provenance":"source"}],"summary":{"text":"The css_parser component of the premailer css_parser Ruby gem fails to validate HTTPS certificates when fetching remote stylesheets, because it connects with certificate verification disabled, so any certificate is accepted. An attacker positioned as a man-in-the-middle on the network path, with no authentication or user interaction required, can inject or modify the CSS content loaded over HTTPS.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:22Z"},"euvd":{"id":"EUVD-2026-30330","exploited":false,"provenance":"source"}}