Skip to content

fix(deps): update dependency koa to v2.16.1 [security] - #23

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

fix(deps): update dependency koa to v2.16.1 [security]#23
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-koa-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
koa (source) 2.13.02.16.1 age confidence

Koajs vulnerable to Cross-Site Scripting (XSS) at ctx.redirect() function

CVE-2025-32379 / GHSA-x2rg-q646-7m2v

More information

Details

Summary

In koa < 2.16.1 and < 3.0.0-alpha.5, passing untrusted user input to ctx.redirect() even after sanitizing it, may execute javascript code on the user who use the app.

Patches

This issue is patched in 2.16.1 and 3.0.0-alpha.5.

PoC

Coming soon...

Impact
  1. Redirect user to another phishing site
  2. Make request to another endpoint of the application based on user's cookie
  3. Steal user's cookie

Severity

  • CVSS Score: 5.0 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

References

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


Release Notes

koajs/koa (koa)

v2.16.1

Compare Source

fix: don't render redirect values in anchor ref

v2.16.0

Compare Source

This is a backported release to fix core underlying issue with HEAD requests when using http2.createSecureServer. See discussion at #​1593 and #​1547.

  • fix missing cleanup, if response socket is no longer writeable (issue 1547) (#​1593) 399cb6b

v2.15.4

Compare Source

Full Changelog: koajs/koa@2.15.3...2.15.4

Fix: avoid redos on host and protocol getter, see GHSA-593f-38f6-jp5m

v2.15.3

Compare Source

v2.15.2

Compare Source

v2.15.1

Compare Source

v2.15.0

Compare Source

v2.14.2

Compare Source

v2.14.1

Compare Source

v2.14.0

Compare Source

v2.13.4

Compare Source

v2.13.3

Compare Source

v2.13.2

Compare Source

v2.13.1

Compare Source

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

fixes

others


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.

@renovate
renovate Bot force-pushed the renovate/npm-koa-vulnerability branch from c5210c2 to f3c881d Compare August 10, 2025 14:36
@renovate
renovate Bot force-pushed the renovate/npm-koa-vulnerability branch from f3c881d to 7027882 Compare September 25, 2025 21:36
@renovate renovate Bot changed the title fix(deps): update dependency koa to v2.16.1 [security] fix(deps): update dependency koa to v2.16.1 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate
renovate Bot deleted the renovate/npm-koa-vulnerability branch March 27, 2026 02:18
@renovate renovate Bot changed the title fix(deps): update dependency koa to v2.16.1 [security] - autoclosed fix(deps): update dependency koa to v2.16.1 [security] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate
renovate Bot force-pushed the renovate/npm-koa-vulnerability branch 2 times, most recently from 7027882 to af348cf Compare March 30, 2026 18:06
@renovate renovate Bot changed the title fix(deps): update dependency koa to v2.16.1 [security] fix(deps): update dependency koa to v2.16.1 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title fix(deps): update dependency koa to v2.16.1 [security] - autoclosed fix(deps): update dependency koa to v2.16.1 [security] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/npm-koa-vulnerability branch 2 times, most recently from af348cf to a149698 Compare April 27, 2026 20:51
Sign up for free to 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