PT-2023-18187 · Nunjucks+1 · Nunjucks+1

Blaiddx64

+1

·

Publicado

2023-04-20

·

Atualizado

2025-06-24

·

CVE-2023-2142

CVSS v3.1

6.1

Média

VetorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Nunjucks versions prior to 3.2.4
Description The issue allows bypassing the restrictions provided by the autoescape functionality in Nunjucks. If two user-controlled parameters are on the same line in the views, it is possible to inject cross-site scripting payloads using the backslash character. This can be achieved when user-controlled parameters are used in a way that allows injection of malicious scripts.
Recommendations For versions prior to 3.2.4, update to version 3.2.4 to resolve the issue. As a temporary workaround, consider restricting the use of user-controlled parameters on the same line in views to minimize the risk of exploitation. Avoid using the backslash character in user-controlled parameters until the issue is resolved.

Correção

XSS

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

Enumeração de Fraquezas

Identificadores relacionados

CVE-2023-2142
GHSA-X77J-W7WF-FJMW

Produtos afetados

Debian
Nunjucks