This repository was archived by the owner on Jan 15, 2025. It is now read-only.
fix(deps): update dependency nunjucks to v3.2.4 [security]#67
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
fix(deps): update dependency nunjucks to v3.2.4 [security]#67renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
bdbf9e4 to
5b9ca22
Compare
2d0fc45 to
5b9ca22
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.1->3.2.4GitHub Vulnerability Alerts
CVE-2023-2142
Impact
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.Example
If the user-controlled parameters were used in the views similar to the following:
It is possible to inject XSS payload using the below parameters:
Patches
The issue was patched in version 3.2.4.
References
Release Notes
mozilla/nunjucks (nunjucks)
v3.2.4Compare Source
filter (including when this is done automatically with autoescape). Merge
of #1437.
v3.2.3Compare Source
sortfilter;respect
throwOnUndefinedif sort attribute is undefined.basearg tointfilter.chokidartopeerDependenciesand mark itoptionalinpeerDependenciesMeta.#1330; fixes
#1331. Thanks
ChenKS12138!
v3.2.2Compare Source
selectandrejectfilters.Merge of #1278 and
#1279; fixes
#282. Thanks
ogonkov!
TypeError: name.replace is not a function.Fixes #1295.
groupbyfilter;respect
throwOnUndefinedoption, if the groupby attribute is undefined.Merge of #1276; fixes
#1198. Thanks
ogonkov!
rendering templates synchronously. Fixes
#1272.
indentfilter no longer appends an additional newline. Fixes#1231.
v3.2.1Compare Source
#1253. Thanks
AlynxZhou.
^2.0.0to^3.3.0. Merge of#1254. Thanks
eklingen.
of #1250. Thanks
eklingen.
v3.2.0Compare Source
NodeResolveLoader,a Loader that loads templates using node's
require.resolve.Fixes #1175.
Environmentinstances, to allow runtime dependencytracking. Fixes #1153.
v3.1.7Compare Source
Fix bug where exceptions were silently swallowed with synchronous render.
Fixes #678,
#1116,
#1127, and
#1164
Removes deprecated postinstall-build package in favor of
npm prepare.
Merge of #1172.
Fixes #1167.
directly from github.
v3.1.6Compare Source
No code changes; fixed npm packaging issue.
v3.1.4Compare Source
v3.1.3Compare Source
Add
forceescapefilter. Fixes #782Fix regression that prevented template errors from reporting line and column number.
Fixes #1087 and
#1095.
Fix "Invalid type: Is" error for
{% if value is defined %}. Fixes#1110
Formally drop support for node v4 (the upgrade to babel 7 in 3.1.0 made the
build process incompatible with node < 6.9.0).
v3.1.2Compare Source
chokidaran optional dependency again. Fixes#1073
npm install nunjuckswith the--no-bin-linksflag#1074
v3.1.0Compare Source
Support nunjucks.installJinjaCompat() with slim build. Fixes
#1019
Fix calling render callback twice when a conditional import throws an error.
Solves #1029
Support objects created with Object.create(null). fixes #468
Support ESNext iterators, using Array.from. Merge of
#1058
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.