CVE-2022-43441
JavaScript vulnerability analysis and mitigation

Overview

A code execution vulnerability (CVE-2022-43441) was discovered in Ghost Foundation's node-sqlite3 version 5.1.1, specifically affecting the Statement Bindings functionality. The vulnerability was discovered by Dave McDaniel of Cisco Talos and publicly disclosed on March 16, 2023. The vulnerability affects node-sqlite3 versions from 5.0.0 up to (excluding) 5.1.5, which provides asynchronous, non-blocking SQLite3 bindings for Node.js within Ghost CMS (Talos Report, NVD).

Technical details

The vulnerability exists in the Statement Bindings functionality where a specially-crafted Javascript file can lead to arbitrary code execution. The issue occurs when SQL query parameters are bound to a statement, and those parameters are processed through a loop within the Statement::Bind() function. The vulnerability stems from the toString() operation on received objects, which calls napi_coerce_to_string(). This implementation can potentially execute JavaScript code if the passed-in value is an object. The vulnerability has received a CVSS v3.1 base score of 9.8 (CRITICAL) from NVD and 8.1 (HIGH) from Talos (Talos Report, GitHub Advisory).

Impact

When exploited, this vulnerability can lead to arbitrary code execution in applications using the vulnerable node-sqlite3 module. In the specific case of Ghost CMS, due to JSON format restrictions, the vulnerability manifests as a remote denial of service attack that crashes the entire Node.js service that Ghost CMS is running on (Talos Report).

Mitigation and workarounds

The vulnerability has been patched in node-sqlite3 version 5.1.5. All users are recommended to upgrade to version 5.1.5 or later. As a workaround, users should ensure sufficient sanitization in the parent application to protect against invalid values being supplied to binding parameters (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23744CRITICAL9.8
  • JavaScriptJavaScript
  • @mcpjam/inspector
NoYesJan 16, 2026
CVE-2026-23735HIGH8.7
  • JavaScriptJavaScript
  • graphql-modules
NoYesJan 16, 2026
GHSA-gw32-9rmw-qwwwHIGH8.4
  • JavaScriptJavaScript
  • svelte
NoYesJan 16, 2026
CVE-2026-23745HIGH8.2
  • JavaScriptJavaScript
  • tar
NoYesJan 16, 2026
GHSA-38cw-85xc-xr9xMEDIUM6.8
  • JavaScriptJavaScript
  • @veramo/data-store
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management