<?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://db.gcve.eu</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>Fri, 30 Oct 2026 03:40:03 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-116582</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-116582</link>
      <description>&lt;p&gt;Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.0.0 and from 1.5.5 until 1.6.10, the JavaScript-output APIs serialize a RegExp source containing a less-than character without the escaping needed for an HTML script element. An application is affected when it builds regular expression syntax from untrusted input, serializes that RegExp through serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer, or compileJSON, and embeds the result in an HTML script element. The crafted source can terminate the element and execute script in the page received by another user. This issue is fixed in version 1.6.10.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.0.0 and from 1.5.5 until 1.6.10, the JavaScript-output APIs serialize a RegExp source containing a less-than character without the escaping needed for an HTML script element. An application is affected when it builds regular expression syntax from untrusted input, serializes that RegExp through serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer, or compileJSON, and embeds the result in an HTML script element. The crafted source can terminate the element and execute script in the page received by another user. This issue is fixed in version 1.6.10.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-116582</guid>
    </item>
    <item>
      <title>GHSA-9wx9-5pv9-3349 — Seroval: Script injection through RegExp sources in serialized output</title>
      <link>https://db.gcve.eu/vuln/ghsa-9wx9-5pv9-3349</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: seroval&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;seroval writes a `RegExp` as a regular expression literal. In affected versions, the `&amp;lt;` character in a `RegExp` source is written without escaping. A source built from untrusted input can then end the HTML `&amp;lt;script&amp;gt;` element that the serialized output is placed in, and run script in the page.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;seroval escapes `&amp;lt;` in strings, so string values cannot end a `&amp;lt;script&amp;gt;` element. `RegExp` sources did not get the same escaping:&lt;/p&gt;
&lt;p&gt;- Versions before 1.0.0 wrote the source as is.
- Version 1.5.5 stopped escaping `&amp;lt;` in `RegExp` sources, so that named groups and lookbehinds keep working. This removed the escaping for every `&amp;lt;` in a source.&lt;/p&gt;
&lt;p&gt;These functions are affected:&lt;/p&gt;
&lt;p&gt;- `serialize`, `serializeAsync`
- `crossSerialize`, `crossSerializeAsync`, `crossSerializeStream`
- the `Serializer` class
- `compileJSON`&lt;/p&gt;
&lt;p&gt;`toJSON`, `fromJSON`, `toCrossJSON` and `fromCrossJSON` are not affected, because they never produce JavaScript.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;An application is affected when all of these are true:&lt;/p&gt;
&lt;p&gt;1. It builds a `RegExp` from untrusted input that is used as regular expression syntax. Input passed through an escaping helper (such as an `escapeRegExp` function) is not enough to exploit this.
2. It serializes that `RegExp` with one of the functions above.
3. It places the output inside an HTML `&amp;lt;script&amp;gt;` element, as server rendering usually does.&lt;/p&gt;
&lt;p&gt;In that case an attacker can run script in the page of any user who receives that output.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;Fixed in 1.6.10. A `RegE…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: seroval&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;seroval writes a `RegExp` as a regular expression literal. In affected versions, the `&amp;lt;` character in a `RegExp` source is written without escaping. A source built from untrusted input can then end the HTML `&amp;lt;script&amp;gt;` element that the serialized output is placed in, and run script in the page.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;seroval escapes `&amp;lt;` in strings, so string values cannot end a `&amp;lt;script&amp;gt;` element. `RegExp` sources did not get the same escaping:&lt;/p&gt;
&lt;p&gt;- Versions before 1.0.0 wrote the source as is.
- Version 1.5.5 stopped escaping `&amp;lt;` in `RegExp` sources, so that named groups and lookbehinds keep working. This removed the escaping for every `&amp;lt;` in a source.&lt;/p&gt;
&lt;p&gt;These functions are affected:&lt;/p&gt;
&lt;p&gt;- `serialize`, `serializeAsync`
- `crossSerialize`, `crossSerializeAsync`, `crossSerializeStream`
- the `Serializer` class
- `compileJSON`&lt;/p&gt;
&lt;p&gt;`toJSON`, `fromJSON`, `toCrossJSON` and `fromCrossJSON` are not affected, because they never produce JavaScript.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;An application is affected when all of these are true:&lt;/p&gt;
&lt;p&gt;1. It builds a `RegExp` from untrusted input that is used as regular expression syntax. Input passed through an escaping helper (such as an `escapeRegExp` function) is not enough to exploit this.
2. It serializes that `RegExp` with one of the functions above.
3. It places the output inside an HTML `&amp;lt;script&amp;gt;` element, as server rendering usually does.&lt;/p&gt;
&lt;p&gt;In that case an attacker can run script in the page of any user who receives that output.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;Fixed in 1.6.10. A `RegE…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-9wx9-5pv9-3349</guid>
    </item>
  </channel>
</rss>
