{"id":"CVE-2022-43441","aliases":["GHSA-jqv5-7xpx-qj74"],"url":"https://o3.security/vulnerability/CVE-2022-43441","summary":"sqlite vulnerable to code execution due to Object coercion","details":"### Impact\n\nDue to the underlying implementation of `.ToString()`, it's possible to execute arbitrary JavaScript, or to achieve a denial-of-service, if a binding parameter is a crafted Object.\n\nUsers of `sqlite3` v5.0.0 - v5.1.4 are affected by this.\n\n### Patches\n\nFixed in v5.1.5. All users are recommended to upgrade to v5.1.5 or later.\n\n### Workarounds\n\n* Ensure there is sufficient sanitization in the parent application to protect against invalid values being supplied to binding parameters.\n\n### References\n\n* Commit: https://github.com/TryGhost/node-sqlite3/commit/edb1934dd222ae55632e120d8f64552d5191c781\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Email us at [security@ghost.org](mailto:security@ghost.org)\n\nCredits: Dave McDaniel of Cisco Talos","published":"2023-03-16T20:14:14.090Z","modified":"2026-08-12T03:51:12.277259869Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"sqlite3","fixedVersion":"5.1.5"}],"fix":{"url":"https://github.com/TryGhost/node-sqlite3/commit/edb1934dd222ae55632e120d8f64552d5191c781","label":"TryGhost/node-sqlite3@edb1934"},"references":[{"type":"WEB","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2022-1645"},{"type":"WEB","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2022-1645"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43441.json"},{"type":"ADVISORY","url":"https://github.com/TryGhost/node-sqlite3/security/advisories/GHSA-jqv5-7xpx-qj74"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43441"},{"type":"WEB","url":"https://github.com/TryGhost/node-sqlite3/commit/edb1934dd222ae55632e120d8f64552d5191c781"},{"type":"PACKAGE","url":"https://github.com/TryGhost/node-sqlite3"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:12.277259869Z"}}