Vulnerabilities/

Nunjucks autoescape bypass leads to cross site scripting

Severity:
Medium

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:

References

Related Issues

Tags:
npm
nunjucks
Anything's wrong? Let us know Last updated on November 26, 2024

This issue is available in SmartScanner Professional

See Pricing