10

CVE-2022-2421: Socket.io - Improper type validation in attachment parsing

Analyzed
AliasesGHSA-qm95-pgcg-qqfq
Published 25-10-2022Last modified 11-03-2025

Vulnerability summary

CVE-2022-2421 is a critical (CVSS 10.0) vulnerability in socket socket.io-parser. EPSS estimates a 1.44% chance of exploitation in the next 30 days, higher than 74.1% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
10.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.44%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 25-10-2022
    PublishedVulnerability first disclosed.
  2. 11-03-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.44%

Chance of exploitation in the next 30 days

Percentile

74%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 1.43% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Npm1 product
  • socket.io-parser≥ 4.0.0, < 4.0.5 | ≥ 4.1.0, < 4.2.1 | < 3.3.3 | ≥ 3.4.0, < 3.4.2
Socket1 product
  • socket.io-parser< 3.3.3 | ≥ 3.4.0, < 3.4.2 | ≥ 4.0.0, < 4.0.5 | ≥ 4.1.0, < 4.2.1
Socketio1 product

3 vendors · 3 products

References

10 links