PT-2026-133254

Publicado

2026-10-29

·

Atualizado

2026-10-29

Descrição por

CVSS 4.0
6.3
Média
MétricasAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L

Impact

When the :preserve comments option is not enabled (which is the default behavior), Crass discards CSS comments by recursively consuming the next token. An attacker who provides a stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a SystemStackError.

Patches

This is fixed in Crass 1.0.7, which no longer recurses when discarding comments.

Workarounds

Set the :preserve comments option to true if this is acceptable to your use case (recursion doesn't occur when comments are preserved).
Explorabilidade
Correção
Impactos
Fornecedores
Produtos afetados
Enumeração de fraquezas
Identificadores relacionados
GHSA-WWPR-JFF3-395C
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾