pypi package report

Is flask-cors safe?

6 known vulnerabilities, worst severity HIGH.

// reach

3 direct dependencies

2 carry known advisories, worst HIGH

52 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
7.5
high

CVSS v3.1 base score out of 10

epss
0.72%
medium

chance of exploitation in 30 days, 54th percentile of all CVEs

xyz score
4.4
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-hxwh-jpp2-84pm, the advisory selected below

// 6 advisories

GHSA-hxwh-jpp2-84pm

HIGHGitHub ratingCVE-2024-6221

A vulnerability in corydolphin/flask-cors version 4.0.1 allows the Access-Control-Allow-Private-Network CORS header to be set to true by default, without any configuration option. This behavior can expose private network resources to unauthorized external access, leading to significant security risks such as data breaches, unauthorized access to sensitive information, and potential network intrusions.

// cvss v3.1 vector

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

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Checked 2026-11-06 at 22:42 UTC. The most recent advisory here was published 2025-03-20. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.