npm package report

Is @elysiajs/cors safe?

1 known vulnerability, worst severity MODERATE.

cvss
6.5

how bad it is if exploited, out of 10

epss
0.50%

chance of exploitation in the next 30 days

xyz score
not scored

CyberXYZ composite, out of 10

fig. 01 — GHSA-f9qj-4c5x-cpcw, the advisory selected below

// advisories

GHSA-f9qj-4c5x-cpcw

MODERATECVE-2025-50864

An Origin Validation Error in the elysia-cors library thru 1.3.0 allows attackers to bypass Cross-Origin Resource Sharing (CORS) restrictions. The library incorrectly validates the supplied origin by checking if it is a substring of any domain in the site's CORS policy, rather than performing an exact match. For example, a malicious origin like "notexample.com", "example.common.net" is whitelisted

Affected
< 1.3.1
Fixed in
1.3.1
Weakness
CWE-178
Published
2025-08-20
Source
github

GHSANVDMITREreferencereferencereferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 02:46 UTC. The most recent advisory here was published 2025-08-20. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is @elysiajs/cors safe? npm package security report | CyberXYZ