dependabot npm(deps): [security] bump send and serve-static
Bumps send to 0.19.0 and updates ancestor dependency serve-static. These dependencies need to be updated together.
Updates send
from 0.18.0 to 0.19.0 This update includes a security fix.
Vulnerabilities fixed
send vulnerable to template injection that can lead to XSS
Impact
passing untrusted user input - even after sanitizing it - to
SendStream.redirect()
may execute untrusted codePatches
this issue is patched in send 0.19.0
Workarounds
users are encouraged to upgrade to the patched version of express, but otherwise can workaround this issue by making sure any untrusted inputs are safe, ideally by validating them against an explicit allowlist
Details
successful exploitation of this vector requires the following:
- The attacker MUST control the input to response.redirect()
- express MUST NOT redirect before the template appears
- the browser MUST NOT complete redirection before:
- the user MUST click on the link in the template
Patched versions: 0.19.0
Affected versions: < 0.19.0
Release notes
Sourced from send's releases.
0.19.0
What's Changed
- Remove link renderization in html while redirecting (pillarjs/send#235)
New Contributors
@UlisesGascon
made their first contribution in pillarjs/send#235Full Changelog: https://github.com/pillarjs/send/compare/0.18.0...0.19.0
Changelog
Sourced from send's changelog.
0.19.0 / 2024-09-10
- Remove link renderization in html while redirecting
Commits
-
9d2db99
0.19.0 -
ae4f298
Merge commit from fork - See full diff in compare view
Maintainer changes
This version was pushed to npm by ulisesgascon, a new releaser for send since your current version.
Updates serve-static
from 1.16.0 to 1.16.2
Changelog
Sourced from serve-static's changelog.
1.16.2 / 2024-09-11
- deps: encodeurl@~2.0.0
1.16.1 / 2024-09-11
- deps: send@0.19.0
Commits
-
ec9c5ec
1.16.2 -
f454d37
fix(deps): encodeurl@~2.0.0 -
77a8255
1.16.1 -
4263f49
fix(deps): send@0.19.0 - See full diff in compare view