{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-42002","id":"CVE-2022-42002","title":"SonicJS through 0.6.0 allows file overwrite","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.","descriptionLong":"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.","published":"2022-09-30T23:53:19.000Z","updated":"2026-10-28T02:30:27.532901169Z","reserved":"2022-09-30T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"critical","source":"NVD"},"metrics":[{"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","rating":"critical","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42002.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42002","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01303,"epssPercentile":0.71087,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-42002","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42002","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-42002","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-42002","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}