SEPTEMBER 8, 2026
Live Feed
Back to database
Case File

CVE-2026-54163

MEDIUM · CVSS 4.7 EPSS 0.17% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-17 · Last synced 2026-08-16

CyberRota Analysis

AI-Generated

The vulnerability affects the secure_headers library, which improperly handles untrusted input when constructing Content-Security-Policy (CSP) directives, potentially allowing attackers to inject malicious CSP directives. This could lead to cross-site scripting (XSS) attacks or unauthorized data exfiltration through CSP reports. Organizations using versions prior to 7.3.0 should prioritize updating to mitigate these risks.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-54163
Severity
MEDIUM
CVSS
4.7
EPSS
0.17%

Original NVD Description

secure_headers manages application of security headers with many safe defaults. Prior to 7.3.0, secure_headers builds the Content-Security-Policy value by stitching directives with ; separators, and build_sandbox_list_directive, build_media_type_list_directive, and build_report_to_directive interpolate caller-supplied strings without scrubbing ;, \r, or \n. When untrusted input reaches SecureHeaders.override_content_security_policy_directives or append APIs for :sandbox, :plugin_types, or :report_to, an attacker can inject a CSP directive such as script-src 'unsafe-inline' * before the legitimate script-src, enabling XSS reachability through these sinks or CSP report exfiltration. This issue is fixed in version 7.3.0.