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.
Recommendation
Update the nunjucks package to the latest compatible version. Followings are version details:
- Affected version(s): < 3.2.4
- Patched version(s): 3.2.4
References
Related Issues
- Vega Expression Language `scale` expression function Cross Site Scripting (GHSA-4vq7-882g-wcg4) - CVE-2023-26486
- Vega has Cross-site Scripting vulnerability in `lassoAppend` function (GHSA-w5m3-xh75-mp55) - CVE-2023-26487
- Vega has Cross-site Scripting vulnerability in `lassoAppend` function - CVE-2023-26487
- rsshub vulnerable to Cross-site Scripting via unvalidated URL parameters - CVE-2023-26491
- Tags:
- npm
- nunjucks
Anything's wrong? Let us know Last updated on November 26, 2024