Description
Affected versions of nunjucks do not properly escape specially structured user input in template vars when in auto-escape mode, resulting in a cross-site scripting vulnerability.
Recommendation
Update the nunjucks package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.4.3
- Patched version(s): 2.4.3
References
Related Issues
- Cross-Site Scripting in swagger-ui - swagger-ui - GHSA-7f59-x49p-v8mq - CVE-2016-1000226
- Nunjucks autoescape bypass leads to cross site scripting - CVE-2023-2142
- Cross-Site Scripting in swagger-ui - swagger-ui - CVE-2016-1000233
- Cross-Site Scripting (XSS) in pivottable - CVE-2016-1000241
You might also like:
- Tags:
- npm
- nunjucks
Anything's wrong? Let us know Last updated on January 09, 2023


