# secure\_headers (RubyGems) vulnerabilities

3 known vulnerabilities (3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://rubygems.org/gems/secure_headers

## Advisories (3)

### [CVE-2026-54163](https://cve.now/CVE-2026-54163): secure\_headers: CSP directive injection via sandbox, plugin\_types, and report\_to when given untrusted input

- Severity: Medium 4.7
- Published: Jul 17, 2026
- Affected: fixed in 7.3.0.

### [CVE-2020-5216](https://cve.now/CVE-2020-5216): Limited header injection when using dynamic overrides with user input in RubyGems secure\_headers

- Severity: Medium 4.4
- Published: Jan 23, 2020
- Affected: from 6.0.0, fixed in 6.3.0; from 5.0.0, fixed in 5.2.0; fixed in 3.9.0.

### [CVE-2020-5217](https://cve.now/CVE-2020-5217): Directive injection when using dynamic overrides with user input in RubyGems secure\_headers

- Severity: Medium 4.4
- Published: Jan 23, 2020
- Affected: from 6.0.0, fixed in 6.2.0; from 5.0.0, fixed in 5.1.0; fixed in 3.8.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/rubygems/secure_headers
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
