PT-2023-7567 · Postcss+1 · Postcss+1

Publicado

2023-09-29

·

Atualizado

2026-06-04

·

CVE-2023-44270

CVSS v3.1

5.3

Média

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions PostCSS versions prior to 8.4.31
Description The issue affects linters using PostCSS to parse external untrusted CSS. An attacker can prepare CSS in such a way that it will contain parts parsed by PostCSS as a CSS comment. After processing by PostCSS, it will be included in the PostCSS output in CSS nodes (rules, properties) despite being originally included in a comment. This may lead to discrepancies, as demonstrated by @font-face{ font:(r/*);} in a rule. The vulnerability exists due to the lack of measures to neutralize special elements, which may allow a remote attacker to execute arbitrary code.
Recommendations For PostCSS versions prior to 8.4.31, update to version 8.4.31 or later to resolve the issue. As a temporary workaround, consider restricting the use of PostCSS to parse external untrusted CSS until a patch is available. Avoid using PostCSS to process CSS that contains potentially malicious comments.

Correção

Special Elements Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2023-08623
CVE-2023-44270
DLA-4003-1
GHSA-7FH5-64P2-3V2J
OPENSUSE-SU-2025:14663-1

Produtos afetados

Debian
Postcss