CVE-2026-68747: Elixir Css Import Bypass

A CSS scrubber attempts to remove `@import` rules using a regular expression that requires at least one whitespace character (`\s+`). This allows an attacker to bypass the security filter by omitting whitespace completely, such as `@import"url"`. Additionally, ensure CSS character escapes (e.g., `@\69 mport`) are decoded before regex filtering. Fix the regex

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Elixir
greprules fetch cve-2026-68747-elixir-css-import-bypass --engine opengrep

Description

A CSS scrubber attempts to remove `@import` rules using a regular expression that requires at least one whitespace character (`\s+`). This allows an attacker to bypass the security filter by omitting whitespace completely, such as `@import"url"`. Additionally, ensure CSS character escapes (e.g., `@\69 mport`) are decoded before regex filtering. Fix the regex