Skip to content

fix(deps): update dependency @koa/cors to v5 [security] - #627

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

fix(deps): update dependency @koa/cors to v5 [security]#627
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-koa-cors-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Aug 6, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@koa/cors ^4.0.0^5.0.0 age confidence

Warning

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-Origin header 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 Score: 8.6 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

References

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


Release Notes

koajs/cors (@​koa/cors)

v5.0.0

Compare Source

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

others


Configuration

📅 Schedule: (UTC)

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

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


  • 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 changed the title fix(deps): update dependency @koa/cors to v5 [security] fix(deps): update dependency @koa/cors to v5 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate
renovate Bot deleted the renovate/npm-koa-cors-vulnerability branch March 27, 2026 01:43
@renovate renovate Bot changed the title fix(deps): update dependency @koa/cors to v5 [security] - autoclosed fix(deps): update dependency @koa/cors to v5 [security] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate
renovate Bot force-pushed the renovate/npm-koa-cors-vulnerability branch 2 times, most recently from e450e47 to 253bd58 Compare March 30, 2026 21:39
@renovate renovate Bot changed the title fix(deps): update dependency @koa/cors to v5 [security] fix(deps): update dependency @koa/cors to v5 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title fix(deps): update dependency @koa/cors to v5 [security] - autoclosed fix(deps): update dependency @koa/cors to v5 [security] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/npm-koa-cors-vulnerability branch 2 times, most recently from 253bd58 to 03313e5 Compare April 27, 2026 23:13
@renovate
renovate Bot force-pushed the renovate/npm-koa-cors-vulnerability branch from 03313e5 to a98b906 Compare May 5, 2026 05:44
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