Description
Nunjucks is a full featured templating engine for JavaScript. Versions 2.4.2 and lower have a cross site scripting (XSS) vulnerability in autoescape mode. In autoescape mode, all template vars should automatically be escaped. By using an array for the keys, such as `name[]=<script>alert(1)</script>`, it is possible to bypass autoescaping and inject content into the DOM.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2018-0746 | Nunjucks is a full featured templating engine for JavaScript. Versions 2.4.2 and lower have a cross site scripting (XSS) vulnerability in autoescape mode. In autoescape mode, all template vars should automatically be escaped. By using an array for the keys, such as `name[]=<script>alert(1)</script>`, it is possible to bypass autoescaping and inject content into the DOM. |
Github GHSA |
GHSA-f7ph-p5rv-phw2 | Cross-Site Scripting in nunjucks |
References
History
No history.
Status: PUBLISHED
Assigner: hackerone
Published:
Updated: 2024-09-16T16:43:50.537Z
Reserved: 2017-10-29T00:00:00.000Z
Link: CVE-2016-10547
No data.
Status : Modified
Published: 2018-05-31T20:29:01.737
Modified: 2024-11-21T02:44:14.427
Link: CVE-2016-10547
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA