{"id":"CVE-2022-42002","aliases":["EUVD-2022-45105","GHSA-pc9q-654c-78w3"],"status":"published","title":"SonicJS through 0.6.0 allows file overwrite. It has the following mutations that are used for...","description":"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.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01303,"percentile":0.70672,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2022-09-30T23:53:19Z","modified":"2026-10-28T02:30:27Z","products":[{"vendor":"sonicjs","product":"sonicjs"}],"references":[{"url":"https://snyk.io/blog/graphql-security-static-analysis-snyk-code/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","article"]},{"url":"https://github.com/lane711/sonicjs/tags","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42002","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pc9q-654c-78w3"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42002.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-42002","description":"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.","status":"published","published":"2022-09-30T23:53:19Z","modified":"2024-08-03T12:56:39.174Z","updated_at":"2026-11-02T14:34:27.640972Z"}],"euvd":[{"id":"EUVD-2022-45105","description":"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.","status":"published","published":"2022-09-30T23:53:19Z","modified":"2024-08-03T12:56:39Z","updated_at":"2026-11-03T03:25:19.588915Z"}],"ghsa":[{"id":"GHSA-pc9q-654c-78w3","title":"SonicJS through 0.6.0 allows file overwrite. It has the following mutations that are used for...","description":"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.","status":"published","published":"2022-10-02T00:00:31Z","modified":"2023-01-27T05:08:48Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:43:20.56941Z"}],"nvd":[{"id":"CVE-2022-42002","description":"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.","status":"published","published":"2022-10-01T00:15:10.1Z","modified":"2026-06-17T05:04:13.65Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"CVE-2022-42002","description":"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.","status":"published","published":"2022-09-30T23:53:19Z","modified":"2026-10-28T02:30:27.532901169Z","updated_at":"2026-11-02T15:44:27.186787Z"}]}}
