Vulnerability
CVE-2026-44312
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.
71 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-2cc6-w2xq-f5w6
- CGA-2hjx-2mcc-2x6g
- CGA-2qw4-whh2-m342
- CGA-2qwp-c73p-mjrg
- CGA-346g-36wj-wqg4
- CGA-3p3w-crq3-fmph
- CGA-3w2v-whx5-mxh7
- CGA-54xj-87mp-267m
- CGA-55wh-hg68-gp2j
- CGA-5g8q-pfh6-m9rx
- CGA-5jcp-8j3g-hf55
- CGA-6599-jh57-qjx6
- CGA-67vq-x9wv-v8gg
- CGA-6cxv-78f4-pwmf
- CGA-6f2j-h57c-vp84
- CGA-6qpw-hm3v-hpxx
- CGA-74f2-fpjr-vhv2
- CGA-7hm6-5p9h-qwf6
- CGA-7r2w-4f7h-mvh2
- CGA-7rcg-g2jg-q2wm
- CGA-86qx-p3g6-5gq8
- CGA-88jp-388j-5pv4
- CGA-9f27-v2pr-ppfp
- CGA-9fx5-x9p2-vj9x
- CGA-9xc2-2chv-g2gj
- CGA-c3p6-7c3r-74xc
- CGA-c467-2fw8-q758
- CGA-c6rm-hqpf-m247
- CGA-chgh-45mp-4chp
- CGA-cjv4-xjvm-9p99
- CGA-fhr9-388p-4phx
- CGA-fr4j-wf4x-q5hx
- CGA-g793-46jp-mpqv
- CGA-gcq5-pgr8-679g
- CGA-gqx5-8f7v-r44p
- CGA-grf6-3p59-28gv
- CGA-h8rp-4r8v-gx9c
- CGA-hgxg-3m45-wqrx
- CGA-hhh5-hmvr-vm5q
- CGA-hq7q-fp3x-qmqp
- CGA-j2h7-5r2j-cjm9
- CGA-jgxr-66wq-j9v9
- CGA-jmm3-7gf2-j252
- CGA-jp8h-rxfx-8cmx
- CGA-jprp-4gfh-468v
- CGA-m98f-8w4h-w2wm
- CGA-mc8w-v35f-6585
- CGA-mgrh-6p47-x5c2
- CGA-mvrw-7qhp-82gg
- CGA-mwq4-hwc2-fwrh
- CGA-p244-5hwm-f5gf
- CGA-p888-887m-pfvp
- CGA-pgcv-gxfq-2rx7
- CGA-q25g-g64j-264q
- CGA-q456-f8w7-w2gp
- CGA-q7mw-hjpr-26jx
- CGA-qj36-q35w-m496
- CGA-qmw2-x369-3vgc
- CGA-qqmm-9795-fg69
- CGA-r26m-qxmp-q8j5
- CGA-rqjm-vjmp-qj29
- CGA-v57w-v877-7fwj
- CGA-v6jw-4f6h-jjjh
- CGA-w3qx-4rhj-x944
- CGA-wq2x-wfw7-mfmc
- CGA-x656-vmh5-6g4r
- CGA-xgrr-qpv7-345w
- CGA-xgx7-2gwj-7wjg
-
DEBIAN-CVE-2026-44312
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…
-
GHSA-ff6c-w6qf-7xqc
CSS Parser: Improper Certificate Validation allows MITM injection of remote CSS content
-
UBUNTU-CVE-2026-44312
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…
References
- https://github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449
- https://github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18
- https://github.com/premailer/css_parser/issues/185
- https://github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc