Skip to content

Update dependency serve-static to v1.16.0 [SECURITY] - #177

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-serve-static-vulnerability
Open

Update dependency serve-static to v1.16.0 [SECURITY]#177
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-serve-static-vulnerability

Conversation

@renovate

@renovaterenovateBot commented Sep 11, 2024

Copy link
Copy Markdown

This PR contains the following updates:

PackageChangeAgeConfidence
serve-static1.14.11.16.0ageconfidence

serve-static vulnerable to template injection that can lead to XSS

CVE-2024-43800 / GHSA-cm22-4g7w-348p

More information

Details

Impact

passing untrusted user input - even after sanitizing it - to redirect() may execute untrusted code

Patches

this issue is patched in serve-static 1.16.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:

  1. The attacker MUST control the input to response.redirect()
  2. express MUST NOT redirect before the template appears
  3. the browser MUST NOT complete redirection before:
  4. the user MUST click on the link in the template

Severity

  • CVSS Score: 2.3 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

expressjs/serve-static (serve-static)

v1.16.0

Compare Source

===================

  • Remove link renderization in html while redirecting

v1.15.0

Compare Source

===================

  • deps: send@​0.18.0
    • Fix emitted 416 error missing headers property
    • Limit the headers removed for 304 response
    • deps: depd@​2.0.0
    • deps: destroy@​1.2.0
    • deps: http-errors@​2.0.0
    • deps: on-finished@​2.4.1
    • deps: statuses@​2.0.1

v1.14.2

Compare Source

===================

  • deps: send@​0.17.2
    • deps: http-errors@​1.8.1
    • deps: ms@​2.1.3
    • pref: ignore empty http tokens

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovaterenovateBot changed the title Update dependency serve-static to v1.16.0 [SECURITY]Update dependency serve-static to v1.16.0 [SECURITY] - autoclosedMar 27, 2026
@renovaterenovateBot closed this Mar 27, 2026
@renovate
renovateBot deleted the renovate/npm-serve-static-vulnerability branch March 27, 2026 05:06
@renovaterenovateBot changed the title Update dependency serve-static to v1.16.0 [SECURITY] - autoclosedUpdate dependency serve-static to v1.16.0 [SECURITY]Mar 30, 2026
@renovaterenovateBot reopened this Mar 30, 2026
@renovate
renovateBotforce-pushed the renovate/npm-serve-static-vulnerability branch 2 times, most recently from f3c7fd2 to 165b6f5CompareMarch 30, 2026 21:42
@renovaterenovateBot changed the title Update dependency serve-static to v1.16.0 [SECURITY]Update dependency serve-static to v1.16.0 [SECURITY] - autoclosedApr 27, 2026
@renovaterenovateBot closed this Apr 27, 2026
@renovaterenovateBot changed the title Update dependency serve-static to v1.16.0 [SECURITY] - autoclosedUpdate dependency serve-static to v1.16.0 [SECURITY]Apr 27, 2026
@renovaterenovateBot reopened this Apr 27, 2026
@renovate
renovateBotforce-pushed the renovate/npm-serve-static-vulnerability branch 2 times, most recently from 165b6f5 to 7859d6dCompareApril 27, 2026 23:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants