RubyGems (Ruby)Worst: Moderate3 advisories

secure_headers: known vulnerabilities

secure_headers has 3 reviewed security advisories in the GitHub Advisory Database — 3 moderate. The most recent was published 2026-07-10. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the secure_headers versions running across your servers, containers and images, and ranks what to patch first.

How to fix secure_headers

Upgrade secure_headers to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):

bundle update secure_headers to 7.3.0 (or gem install secure_headers -v 7.3.0)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Secure Headers: CSP directive injection via sandbox, plugin_types, and report_to when given untrusted input Moderate 4.7 CWE-113 CWE-79 — Affected: before 7.3.0. Fixed in 7.3.0. Published 2026-07-10. GHSA-rqq5-2gf9-4w4q · CVE-2026-54163
Limited header injection when using dynamic overrides with user input in RubyGems secure_headers Moderate 4.4 CWE-113 — Affected: before 3.9.0. Fixed in 3.9.0. Published 2020-01-23. GHSA-w978-rmpf-qmwg · CVE-2020-5216
Directive injection when using dynamic overrides with user input Moderate 4.4 CWE-95 — Affected: before 3.8.0. Fixed in 3.8.0. Published 2020-01-23. GHSA-xq52-rv6w-397c · CVE-2020-5217

Find secure_headers across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.