<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-09T00:27:41.471693+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/ghsa-qj8w-gfj5-8c6v</id>
    <title>GHSA-qj8w-gfj5-8c6v — Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects</title>
    <updated>2026-10-09T00:27:41.472911+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: serialize-javascript</p>
<p>### Impact</p>
<p>**What kind of vulnerability is it?**</p>
<p>It is a **Denial of Service (DoS)** vulnerability caused by CPU exhaustion. When serializing a specially crafted "array-like" 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.</p>
<p>**Who is impacted?**</p>
<p>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.</p>
<p>### Patches</p>
<p>**Has the problem been patched?**</p>
<p>Yes, the issue has been patched by replacing `instanceof Array` checks with `Array.isArray()` and using `Object.keys()` for sparse array detection.</p>
<p>**What versions should users upgrade to?**</p>
<p>Users should upgrade to **`v7.0.5`** or later.</p>
<p>### Workarounds</p>
<p>**Is there a way for users to fix or remediate the vulnerability without upgrading?**</p>
<p>There is no direct code-level workaround within the library itself. However, users can mitigate the risk by:</p>
<p>* 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.</p>
<p>### Acknowledgements</p>
<p>Serialize JavaScript thanks *…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-qj8w-gfj5-8c6v"/>
  </entry>
</feed>
