Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2023-49803
koajs cross-origin resource sharing for koa

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)0.33%
within the next 30 days
CategoryRequest forgery (CSRF / SSRF)
Published11 December 2023
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: modifying data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

@koa/cors npm provides Cross-Origin Resource Sharing (CORS) for koa, a web framework for Node.js. Prior to version 5.0.0, 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. Version 5.0.0 fixes this vulnerability.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness: CWE-346

Affected products

VendorProductVersions
koajscross-origin resource sharing for koa<5.0.0

Sources

Latest in the same category

  • CVE-2026-109099 Medium 6.8
    A post-authentication cross-site request forgery (CSRF) vulnerability in the password change CGI program of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow a LAN-based authenticated…
    Request forgery (CSRF / SSRF) · 1 December 2026
  • CVE-2026-139999 Medium 6
    React Router is a router for React. From 7.12.0 until 7.18.3 and 8.3.1, React Router's server-side origin validation may allow cross-site request forgery in Framework, unstable RSC Data, and unstable RSC Framework…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-139997 Medium 5.3
    React Router is a router for React. From 6.4.0 until 7.18.3 and 8.3.1, react Router loader responses and action responses can accept an attacker-controlled redirect destination without consistently rejecting an…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-93329 High 8.7
    A Confused Deputy and Server-Side Request Forgery (SSRF) vulnerability in the /api-proxy endpoint in Google Cloud Gemini Enterprise Agent Platform — Agent Studio App Builder versions prior to 2026-09-02 on Cloud Run…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-5202 Medium 6.7
    LibreOffice documents can link to external content, such as images, objects, sounds and database data, and ask the user before updating those links. Some of this content was loaded while the document was opening,…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-66024 High 8.3
    Chatwoot before 4.17.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server issue HTTP requests to arbitrary hosts by exploiting missing Twilio request signature…
    Request forgery (CSRF / SSRF) · 30 November 2026