deps(prod): update dependency eta to v2 [security] - #432
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
2 times, most recently
from
March 20, 2023 16:20
822053f to
edc9ed2
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
2 times, most recently
from
April 4, 2023 14:51
6853fe9 to
4fa9e54
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
2 times, most recently
from
May 3, 2023 08:53
700ce32 to
daeca93
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
May 8, 2023 16:31
daeca93 to
f33e6d3
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
May 16, 2023 07:02
f33e6d3 to
b1eea2d
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
3 times, most recently
from
May 26, 2023 02:10
fdeec30 to
ff4f6f5
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
May 28, 2023 07:17
ff4f6f5 to
c3240e5
Compare
|
Code Climate has analyzed commit c3240e5 and detected 0 issues on this pull request. View more on Code Climate. |
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
August 10, 2025 14:28
c3240e5 to
a9959a8
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
November 10, 2025 17:02
a9959a8 to
dc218ba
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
November 18, 2025 20:11
dc218ba to
f126b24
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
December 3, 2025 17:07
f126b24 to
1fd7814
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
December 31, 2025 17:46
1fd7814 to
c5a64ad
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
January 19, 2026 18:15
c5a64ad to
e6a29cc
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
March 30, 2026 17:38
b543402 to
e6a29cc
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
March 30, 2026 17:38
e6a29cc to
b543402
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
2 times, most recently
from
April 27, 2026 22:04
b543402 to
d7dd07c
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
May 12, 2026 15:41
d7dd07c to
7cd9c73
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
July 12, 2026 12:01
7cd9c73 to
1962732
Compare
renovate
Bot
force-pushed
the
renovate/npm-eta-vulnerability
branch
from
July 24, 2026 18:59
1962732 to
449e8d9
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^1.12.1→^2.0.0XSS Attack with Express API
CVE-2023-23630 / GHSA-xrh7-m5pp-39r6
More information
Details
Impact
XSS attack - anyone using the Express API is impacted
Patches
The problem has been resolved. Users should upgrade to version 2.0.0.
Workarounds
Don't pass user supplied data directly to
res.renderFile.References
Are there any links users can visit to find out more?
See https://github.com/eta-dev/eta/releases/tag/v2.0.0
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Eta vulnerable to Code Injection via templates rendered with user-defined data
CVE-2022-25967 / GHSA-mf6x-hrgr-658f
More information
Details
Versions of the package eta before 2.0.0 are vulnerable to Remote Code Execution (RCE) by overwriting template engine configuration variables with view options received from The Express render API. Note: This is exploitable only for users who are rendering templates with user-defined data.
Severity
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
bgub/eta (eta)
v2.0.0: Version 2.0.0Compare Source
TL;DR
This commit includes fixes for several security vulnerabilities. Specifically, in version 1, Eta merged the
dataparameter ofrenderFile()intoconfig-- meaning that malicious untrusted user data, passed through in a very specific way, could potentially modify the values ofvarName,include,includeFile, anduseWith, and thus insert arbitrary code into user template functions.With this release, such behavior is removed. Configuration cannot be passed through the
dataparameter toeta.renderFile().Most users will be able to update from version 1 to version 2 without changing any code. All users are encouraged to update as soon as possible.
Practical Implications
renderFileexplicitly, rather than merged with thedataparameterapp.set()to modifyviewsandview cachewill no longer change Eta's configuration ofviewsandcache.viewsandview cacheoptions under the hood, users should configure both Eta and Express with desired values (example below)settings["view options"]propertyExample Code Changes
Commits
5651392Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.