{"id":"UBUNTU-CVE-2026-44312","details":"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.","modified":"2026-05-20T22:02:56.233130223Z","published":"2026-05-14T17:16:00Z","upstream":["CVE-2026-44312"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-44312"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-44312"},{"type":"REPORT","url":"https://github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc"},{"type":"REPORT","url":"https://github.com/premailer/css_parser/issues/185"},{"type":"REPORT","url":"https://github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449"},{"type":"REPORT","url":"https://github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18"}],"affected":[{"package":{"name":"ruby-css-parser","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-css-parser?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-css-parser","binary_version":"1.3.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44312.json"}},{"package":{"name":"ruby-css-parser","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-css-parser?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.6-1","1.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.0-1","binary_name":"ruby-css-parser"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44312.json"}},{"package":{"name":"ruby-css-parser","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-css-parser?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-css-parser","binary_version":"1.6.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44312.json"}},{"package":{"name":"ruby-css-parser","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-css-parser?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1","1.6.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-css-parser","binary_version":"1.6.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44312.json"}},{"package":{"name":"ruby-css-parser","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-css-parser?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-2","1.16.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-css-parser","binary_version":"1.16.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44312.json"}},{"package":{"name":"ruby-css-parser","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ruby-css-parser?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-css-parser","binary_version":"1.19.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44312.json"}},{"package":{"name":"ruby-css-parser","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-css-parser?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19.0-1","1.21.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-css-parser","binary_version":"1.21.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44312.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}