- Accueil
- Vulnérabilités
- CVE-2026-116695
CVE-2026-116695
Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass
Résumé
Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants of a bad URL. Crass therefore keeps declarations, style rules, or at-rules inside a bad URL token even though a browser treats them as live CSS. A sanitizer that parses untrusted CSS with Crass and reserializes it without rejecting the bad URL can allow CSS used for UI redress, external resource loading, or CSS-based data exfiltration, but this issue does not enable script execution in modern browsers. This issue is fixed in version 1.0.8.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
rgrove (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| crass | Versions non précisées | — | CNA (éditeur ou attributeur) |
Rubygems (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| crass | avant 1.0.8 (exclu) |
1.0.8 |
GitHub Advisory |
Correctif
Mise à jour — RubyGems/crass 1.0.8source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-pq4g-8rxf-4g29 — Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass 28 oct. 2026
Références
- https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29x_refsource_CONFIRM
- https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34x_refsource_MISC
- https://github.com/rgrove/crass/releases/tag/v1.0.8x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-116695ADVISORY
- https://github.com/rgrove/crassPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/crass/GHSA-pq4g-8rxf-4g29.ymlWEB
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N(CVSS 4.0, CNA:GitHub_M)- Faiblesse
- CWE-436 · Autre (CWE-436)