<?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, 09 Oct 2026 22:08:41 +0000</lastBuildDate>
    <item>
      <title>GHSA-qj8w-gfj5-8c6v — Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects</title>
      <link>https://db.gcve.eu/vuln/ghsa-qj8w-gfj5-8c6v</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: serialize-javascript&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;**What kind of vulnerability is it?**&lt;/p&gt;
&lt;p&gt;It is a **Denial of Service (DoS)** vulnerability caused by CPU exhaustion. When serializing a specially crafted &amp;#34;array-like&amp;#34; object (an object that inherits from `Array.prototype` but has a very large `length` property), the process enters an intensive loop that consumes 100% CPU and hangs indefinitely.&lt;/p&gt;
&lt;p&gt;**Who is impacted?**&lt;/p&gt;
&lt;p&gt;Applications that use `serialize-javascript` to serialize untrusted or user-controlled objects are at risk. While direct exploitation is difficult, it becomes a high-priority threat if the application is also vulnerable to **Prototype Pollution** or handles untrusted data via **YAML Deserialization**, as these could be used to inject the malicious object.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;**Has the problem been patched?**&lt;/p&gt;
&lt;p&gt;Yes, the issue has been patched by replacing `instanceof Array` checks with `Array.isArray()` and using `Object.keys()` for sparse array detection.&lt;/p&gt;
&lt;p&gt;**What versions should users upgrade to?**&lt;/p&gt;
&lt;p&gt;Users should upgrade to **`v7.0.5`** or later.&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;**Is there a way for users to fix or remediate the vulnerability without upgrading?**&lt;/p&gt;
&lt;p&gt;There is no direct code-level workaround within the library itself. However, users can mitigate the risk by:&lt;/p&gt;
&lt;p&gt;* Validating and sanitizing all input before passing it to the `serialize()` function.
* Ensuring the environment is protected against Prototype Pollution.
* Upgrading to **`v7.0.5`** as soon as possible.&lt;/p&gt;
&lt;p&gt;### Acknowledgements&lt;/p&gt;
&lt;p&gt;Serialize JavaScript thanks *…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: serialize-javascript&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;**What kind of vulnerability is it?**&lt;/p&gt;
&lt;p&gt;It is a **Denial of Service (DoS)** vulnerability caused by CPU exhaustion. When serializing a specially crafted &amp;#34;array-like&amp;#34; object (an object that inherits from `Array.prototype` but has a very large `length` property), the process enters an intensive loop that consumes 100% CPU and hangs indefinitely.&lt;/p&gt;
&lt;p&gt;**Who is impacted?**&lt;/p&gt;
&lt;p&gt;Applications that use `serialize-javascript` to serialize untrusted or user-controlled objects are at risk. While direct exploitation is difficult, it becomes a high-priority threat if the application is also vulnerable to **Prototype Pollution** or handles untrusted data via **YAML Deserialization**, as these could be used to inject the malicious object.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;**Has the problem been patched?**&lt;/p&gt;
&lt;p&gt;Yes, the issue has been patched by replacing `instanceof Array` checks with `Array.isArray()` and using `Object.keys()` for sparse array detection.&lt;/p&gt;
&lt;p&gt;**What versions should users upgrade to?**&lt;/p&gt;
&lt;p&gt;Users should upgrade to **`v7.0.5`** or later.&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;**Is there a way for users to fix or remediate the vulnerability without upgrading?**&lt;/p&gt;
&lt;p&gt;There is no direct code-level workaround within the library itself. However, users can mitigate the risk by:&lt;/p&gt;
&lt;p&gt;* Validating and sanitizing all input before passing it to the `serialize()` function.
* Ensuring the environment is protected against Prototype Pollution.
* Upgrading to **`v7.0.5`** as soon as possible.&lt;/p&gt;
&lt;p&gt;### Acknowledgements&lt;/p&gt;
&lt;p&gt;Serialize JavaScript thanks *…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-qj8w-gfj5-8c6v</guid>
    </item>
  </channel>
</rss>
