Arbitrary Code Injection Affecting org.webjars.npm:seroval package, versions [1.6.0,1.6.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-21755415
  • published27 Oct 2026
  • disclosed26 Oct 2026
  • creditUnknown

Introduced: 26 Oct 2026

NewCVE-2026-116583  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:seroval to version 1.6.11 or higher.

Overview

org.webjars.npm:seroval is a Stringify JS values

Affected versions of this package are vulnerable to Arbitrary Code Injection via the typed array serialization path in createTypedArrayNode and createBigIntTypedArrayNode, where the serializer uses value.constructor.name to write the constructor name after new in the generated output. An attacker who can supply a typed array with an own constructor property set to an object whose name is arbitrary code can inject that code into the serialized output, which is subsequently executed when deserialized.

CVSS Base Scores

version 4.0
version 3.1