Safeguard
Tag

cors

Safeguard articles tagged "cors" — guides, analysis, and best practices for software supply chain and application security.

8 articles

Application Security

The Security Implications of Misconfigured CORS in Node.js APIs

One line of Express middleware — reflecting Origin back with credentials: true — turns CORS from a browser protection into an authenticated data-exfiltration channel.

Jul 8, 20266 min read
Vulnerability Guides

CORS Misconfiguration: How to Prevent It

A too-generous CORS policy can let a malicious site read authenticated responses from your API. Reflecting the Origin with credentials is the classic mistake.

Jul 4, 20265 min read
Vulnerability Analysis

CVE-2018-1199: Authorization bypass in Spring Security CO...

CVE-2018-1199 let CORS pre-flight requests slip past Spring Security's authorization checks. What it affected, its real severity, and how to remediate it.

Sep 21, 20257 min read
Vulnerability Analysis

CVE-2020-1045: Security feature bypass in ASP.NET Core

CVE-2020-1045 lets attackers bypass CORS protections in ASP.NET Core apps. Here's what's affected, the risk context, and how to remediate it for good.

Sep 19, 20258 min read
Open Source

How to Secure webpack-dev-server Against Source Code Theft

webpack-dev-server is a local development server, not a production one, and two 2025 CVEs showed exactly why that distinction matters. Here is how it leaks and how to lock it down.

Jun 18, 20255 min read
Open Source

The cors npm Package: A Security Review and Safe Usage Guide

The cors npm package is the standard CORS middleware for Express, and most of its danger comes from misconfiguration, not the library itself. Here is how to set it correctly.

Jun 9, 20255 min read
Security

Flask-CORS Security: The 2024 CVEs and How to Configure It Safely

Flask-CORS is easy to enable and easy to misconfigure. A look at the 2024 path-matching CVEs and the configuration mistakes that actually open your API.

Feb 14, 20256 min read
Application Security

CORS Misconfiguration Exploitation: The Silent API Exposure

CORS misconfigurations are one of the most common web security issues. They silently expose your APIs to cross-origin data theft.

Sep 12, 20225 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.

cors — Safeguard Blog