4.7

CVE-2026-54163: github secure_headers Cross-site Scripting

CVSS: 4.7v3.1MediumDeferred
AliasesUBUNTU-CVE-2026-54163DEBIAN-CVE-2026-54163GHSA-rqq5-2gf9-4w4q
Published 17-07-2026Last modified 20-07-2026

Vulnerability summary

CVE-2026-54163 is a medium (CVSS 4.7) Cross-site Scripting vulnerability in github secure_headers. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 19.8% of scored vulnerabilities.

Overall risk
19/100
0100
Low · default modelHow is this calculated?
CVSS score
4.7/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 17-07-2026
    PublishedVulnerability first disclosed.
  2. 20-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

0.00 pp

From 0.29% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.29%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • ruby-secure-headersAll versions (No fix recorded) | < 7.3.0-1
Github1 product
RubyGems1 product
  • secure_headers< 7.3.0
Ubuntu1 product
  • ruby-secure-headersAll versions (No fix recorded)

4 vendors · 4 products

References

9 links