CVE-2022-2421

published 25 Oct 2022 · updated 11 Mar 2025

Socket.io - Improper type validation in attachment parsing

10.0CriticalCVSS 10.0EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 4.2.1.

Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
socketio>=4.x <4.2.14.2.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-2421 severity on Zeptric[![CVE-2022-2421](https://zeptric.io/badge/cve/CVE-2022-2421.svg)](https://zeptric.io/cve/CVE-2022-2421)