{"cve":"CVE-2022-2421","nvd":{"published":"2022-10-26T10:15:16.780","modified":"2026-06-17T04:41:51.947","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://csirt.divd.nl/CVE-2022-2421","https://csirt.divd.nl/DIVD-2022-00045","https://csirt.divd.nl/CVE-2022-2421","https://csirt.divd.nl/DIVD-2022-00045"],"products":["socket:socket.io-parser"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-2421","score":0.01431,"percentile":0.73042,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-qm95-pgcg-qqfq","url":"https://osv.dev/vulnerability/GHSA-qm95-pgcg-qqfq","summary":"Insufficient validation when decoding a Socket.IO packet","modified":"2023-11-08T04:08:29.946069Z","packages":[{"ecosystem":"npm","name":"socket.io-parser","purl":"pkg:npm/socket.io-parser","ranges":[">=4.0.0 <4.0.5"],"fixed":["4.0.5"]},{"ecosystem":"npm","name":"socket.io-parser","purl":"pkg:npm/socket.io-parser","ranges":[">=4.1.0 <4.2.1"],"fixed":["4.2.1"]},{"ecosystem":"npm","name":"socket.io-parser","purl":"pkg:npm/socket.io-parser","ranges":["<3.3.3"],"fixed":["3.3.3"]},{"ecosystem":"npm","name":"socket.io-parser","purl":"pkg:npm/socket.io-parser","ranges":[">=3.4.0 <3.4.2"],"fixed":["3.4.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}