{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-42002","published":"2022-10-01T00:15:10.100000Z","last_modified":"2026-06-17T05:04:13.650000Z","status":"Modified","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:sonicjs:sonicjs:*:*:*:*:*:node.js:*:*","part":"a","vendor":"sonicjs","product":"sonicjs","version_end_including":"0.6.0"}],"cpes_truncated":false,"vendors":["sonicjs"],"products":["sonicjs/sonicjs"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2022-42002/","html_en":"/en/cve/CVE-2022-42002/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-42002","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-42002"},"untrusted":{"vendor_name":"Sonicjs","product_name":"Sonicjs","desc_en":"SonicJS through 0.6.0 allows file overwrite. It has the following mutations that are used for updating files: fileCreate and fileUpdate. Both of these mutations can be called without any authentication to overwrite any files on a SonicJS application, leading to Arbitrary File Write and Delete.","affected":[],"references":[{"url":"https://github.com/lane711/sonicjs/tags","tags":["Release Notes","Third Party Advisory"]},{"url":"https://snyk.io/blog/graphql-security-static-analysis-snyk-code/","tags":["Exploit","Third Party Advisory"]}]}}