Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-54163 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-113Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')[email protected]
CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')[email protected]

Affected Products

ProductVersions
secure_headers
<= 7.2.0 (semver)

CPE

  • cpe:2.3:a:twitter:secure_headers:*:*:*:*:*:ruby:*:*

Remediation

  • Upgrade: 7.3.0moderate efforthttps://github.com/github/secure_headers/releases/tag/v7.3.0
  • Mitigation:low effort

    Sanitize any user-controlled input before passing it to `SecureHeaders.override_content_security_policy_directives`, `SecureHeaders.append_content_security_policy_directives`, or `SecureHeaders.use_content_security_policy_named_append` for `:sandbox`, `:plugin_types`, or `:report_to`. Reject or strip `;`, ` `, and ` ` from values destined for these directives before they reach the gem.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-54163
NVD Published Date:
Jul 17, 2026
NVD Last Modified:
Jul 23, 2026
Source:
[email protected]
CVE-2026-54163 Details - Not Deferred