fix(deps): update dependency @koa/cors to v5 [security] - #627
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency @koa/cors to v5 [security]#627renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-koa-cors-vulnerability
branch
2 times, most recently
from
March 30, 2026 21:39
e450e47 to
253bd58
Compare
renovate
Bot
force-pushed
the
renovate/npm-koa-cors-vulnerability
branch
2 times, most recently
from
April 27, 2026 23:13
253bd58 to
03313e5
Compare
renovate
Bot
force-pushed
the
renovate/npm-koa-cors-vulnerability
branch
from
May 5, 2026 05:44
03313e5 to
a98b906
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:
^4.0.0→^5.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Overly permissive origin policy
CVE-2023-49803 / GHSA-qxrj-hx23-xp82
More information
Details
Currently, the middleware operates in a way that if an allowed origin is not provided, it will return an
Access-Control-Allow-Originheader with the value of the origin from the request. This behavior completely disables one of the most crucial elements of browsers - the Same Origin Policy (SOP), this could cause a very serious security threat to the users of this middleware.If such behavior is expected, for instance, when middleware is used exclusively for prototypes and not for production applications, it should be heavily emphasized in the documentation along with an indication of the risks associated with such behavior, as many users may not be aware of it.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
koajs/cors (@koa/cors)
v5.0.0Compare Source
==================
others
f31dac9] - Merge pull request from GHSA-qxrj-hx23-xp82 (fengmk2 <suqian.yf@antgroup.com>)Configuration
📅 Schedule: (UTC)
🚦 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.