Intel

AIKIDO-2025-10874

serialize-javascript is vulnerable to Cross Site Scripting (XSS)

Cross Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

45

Medium Risk

This Affects:

JSserialize-javascript
0.0.1 - 7.0.0
Fixed in 7.0.1

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (XSS) due to insufficient sanitization of function bodies in the serializeFunc function.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

serialize-javascript is vulnerable to Cross Site Scripting (XSS) in versions 0.0.1 - 7.0.0.

How to fix this

Upgrade the serialize-javascript library to the patch version.