We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2023-2142

Nunjucks autoescape bypass leads to cross site scripting



Description

In Nunjucks versions prior to version 3.2.4, it was possible to bypass the restrictions which are provided by the autoescape functionality. If there are two user-controlled parameters on the same line used in the views, it was possible to inject cross site scripting payloads using the backslash \ character.

Reserved 2023-04-18 | Published 2024-11-26 | Updated 2024-11-27 | Assigner mozilla

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')

Product status

Default status
unknown

Any version before 3.2.4
affected

Credits

blaiddx64 finder

References

bugzilla.mozilla.org/show_bug.cgi?id=1825980 issue-tracking

github.com/...njucks/security/advisories/GHSA-x77j-w7wf-fjmw vendor-advisory

cve.org (CVE-2023-2142)

nvd.nist.gov (CVE-2023-2142)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2023-2142

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.