<?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>Thu, 08 Oct 2026 07:14:24 +0000</lastBuildDate>
    <item>
      <title>EUVD-2026-321918</title>
      <link>https://cve.radiocsirt.org/vuln/euvd-2026-321918</link>
      <description>EUVD-2026-321918</description>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/euvd-2026-321918</guid>
    </item>
    <item>
      <title>fkie_cve-2026-44214</title>
      <link>https://cve.radiocsirt.org/vuln/fkie_cve-2026-44214</link>
      <description>&lt;p&gt;eventsource-encoder encodes events as well-formed EventSource/Server Sent Event (SSE) messages. Prior to 1.0.2, eventsource-encoder does not sanitize the event or id fields of an EventSourceMessage before serializing them. An attacker who controls either field can inject arbitrary Server-Sent Events line terminators (\n, \r, or \r\n) and thereby forge additional SSE fields or entire messages on the stream. This vulnerability is fixed in 1.0.2.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;eventsource-encoder encodes events as well-formed EventSource/Server Sent Event (SSE) messages. Prior to 1.0.2, eventsource-encoder does not sanitize the event or id fields of an EventSourceMessage before serializing them. An attacker who controls either field can inject arbitrary Server-Sent Events line terminators (\n, \r, or \r\n) and thereby forge additional SSE fields or entire messages on the stream. This vulnerability is fixed in 1.0.2.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/fkie_cve-2026-44214</guid>
    </item>
    <item>
      <title>GHSA-m9g3-3g99-mhpx — eventsource-encoder vulnerable to SSE event injection via unsanitized `event` and `id` fields</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-m9g3-3g99-mhpx</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: eventsource-encoder&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`eventsource-encoder` does not sanitize the `event` or `id` fields of an `EventSourceMessage` before serializing them. An attacker who controls either field can inject arbitrary Server-Sent Events line terminators (`\n`, `\r`, or `\r\n`) and thereby forge additional SSE fields or entire messages on the stream. This is similar in spirit to [GHSA-4hxc-9384-m385](https://github.com/advisories/GHSA-4hxc-9384-m385) (h3), but the vulnerable fields are `event`/`id` rather than `data`/`comment`. These are less likely to be user-controllable, but should still be sanitized.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In `src/encode.ts`, `encodeMessage` interpolates `event` and `id` into the output without inspecting them for line terminators:&lt;/p&gt;
&lt;p&gt;```ts
if (message.event) {
  output += `event: ${message.event}\n`
}
// ...
if (typeof message.id === &amp;#39;string&amp;#39; || typeof message.id === &amp;#39;number&amp;#39;) {
  output += `id: ${message.id}\n`
}
```&lt;/p&gt;
&lt;p&gt;The SSE specification treats `\r`, `\n`, and `\r\n` as line terminators. A `\n` (or `\r`) embedded in either field is rendered as the end of that field, allowing the rest of the input to be interpreted by the client as new SSE fields.&lt;/p&gt;
&lt;p&gt;By contrast, `data` and `comment` already normalize all three line-terminator forms via `NEWLINES_RE = /(\r\n|\r|\n)/g`, so they are not affected.&lt;/p&gt;
&lt;p&gt;### Proof of concept&lt;/p&gt;
&lt;p&gt;```js
import {encode} from &amp;#39;eventsource-encoder&amp;#39;&lt;/p&gt;
&lt;p&gt;// Attacker-controlled value flows into `event`
const userSuppliedTopic = &amp;#39;message\nevent: admin\ndata: {&amp;#34;role&amp;#34;:&amp;#34;admin&amp;#34;}&amp;#39;&lt;/p&gt;
&lt;p&gt;cons…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: eventsource-encoder&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`eventsource-encoder` does not sanitize the `event` or `id` fields of an `EventSourceMessage` before serializing them. An attacker who controls either field can inject arbitrary Server-Sent Events line terminators (`\n`, `\r`, or `\r\n`) and thereby forge additional SSE fields or entire messages on the stream. This is similar in spirit to [GHSA-4hxc-9384-m385](https://github.com/advisories/GHSA-4hxc-9384-m385) (h3), but the vulnerable fields are `event`/`id` rather than `data`/`comment`. These are less likely to be user-controllable, but should still be sanitized.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In `src/encode.ts`, `encodeMessage` interpolates `event` and `id` into the output without inspecting them for line terminators:&lt;/p&gt;
&lt;p&gt;```ts
if (message.event) {
  output += `event: ${message.event}\n`
}
// ...
if (typeof message.id === &amp;#39;string&amp;#39; || typeof message.id === &amp;#39;number&amp;#39;) {
  output += `id: ${message.id}\n`
}
```&lt;/p&gt;
&lt;p&gt;The SSE specification treats `\r`, `\n`, and `\r\n` as line terminators. A `\n` (or `\r`) embedded in either field is rendered as the end of that field, allowing the rest of the input to be interpreted by the client as new SSE fields.&lt;/p&gt;
&lt;p&gt;By contrast, `data` and `comment` already normalize all three line-terminator forms via `NEWLINES_RE = /(\r\n|\r|\n)/g`, so they are not affected.&lt;/p&gt;
&lt;p&gt;### Proof of concept&lt;/p&gt;
&lt;p&gt;```js
import {encode} from &amp;#39;eventsource-encoder&amp;#39;&lt;/p&gt;
&lt;p&gt;// Attacker-controlled value flows into `event`
const userSuppliedTopic = &amp;#39;message\nevent: admin\ndata: {&amp;#34;role&amp;#34;:&amp;#34;admin&amp;#34;}&amp;#39;&lt;/p&gt;
&lt;p&gt;cons…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-m9g3-3g99-mhpx</guid>
    </item>
  </channel>
</rss>
