Intel

AIKIDO-2026-10632

css_parser is vulnerable to Improper Certificate Validation

Improper Certificate Validation Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 28, 2026

48

Medium Risk

This Affects:

RUBYcss_parser
1.1.2 - 2.0.0
Fixed in 2.1.0
Are you affected? Scan for Free

TL;DR

Remote stylesheet fetching in lib/css_parser/parser.rb configured HTTPS requests with OpenSSL::SSL::VERIFY_NONE, disabling TLS certificate verification. When applications load CSS over HTTPS through this path, an active network attacker can impersonate remote endpoints and inject tampered stylesheet content. This undermines transport authenticity and integrity for fetched CSS data before parsing. The patch removes the explicit VERIFY_NONE override so normal certificate validation is enforced.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

css_parser is vulnerable to Improper Certificate Validation in versions 1.1.2 - 2.0.0.

How to fix this

Upgrade the css_parser library to the patch version.