CVE-2026-23737CWE-502

seroval Affected by Remote Code Execution via JSON Deserialization

High · published January 21, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
47.0
In the wild
Unconfirmed
What it is

⚡ A crafty oversight in the seroval library allows attackers to run arbitrary JavaScript code with just a few requests! 🌪️ Think of it like a chef with a recipe book that allows substitutions without any checks. If a sneaky cook can rewrite the recipe with harmful ingredients, the entire meal could be ruined! An attacker could exploit this vulnerability to execute potentially malicious code, leading to unauthorized access to sensitive data, system manipulation, or even a complete takeover of the affected service. Imagine a rogue chef ruining the whole banquet — the consequences could be absolutely devastating!

Put simply

Think of it like a chef with a recipe book that allows substitutions without any checks. If a sneaky cook can rewrite the recipe with harmful ingredients, the entire meal could be ruined! This vulnerability arises from improper input handling in the JSON deserialization process of the seroval library, particularly in the fromJSON and fromCrossJSON functions, which allows malicious users to manipulate serialized data and execute arbitrary JavaScript.

What to do

An attacker could exploit this vulnerability to execute potentially malicious code, leading to unauthorized access to sensitive data, system manipulation, or even a complete takeover of the affected service. Imagine a rogue chef ruining the whole banquet — the consequences could be absolutely devastating! Upgrade to version 1.4.0 immediately to patch this vulnerability. Additionally, perform a thorough review of your input handling and validation processes, especially for serialized data. Always sanitize incoming data to minimize risks. You’ve got this! With a quick upgrade and review, you can lock this down and keep your application secure. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00582 · 47.0th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2026-01-21T23:09Z
EPSS history
Timeline
  • 21 JAN 23:09Z
    seroval Affected by Remote Code Execution via JSON Deserialization
    cvelistv5