SQL Injection Affecting ghost package, versions >=3.24.0 <6.19.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-GHOST-15317320
  • published19 Feb 2026
  • disclosed18 Feb 2026
  • creditNicholas Carlini

Introduced: 18 Feb 2026

NewCVE-2026-26980  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade ghost to version 6.19.1 or higher.

Overview

ghost is a publishing platform

Affected versions of this package are vulnerable to SQL Injection in the the slug filter ordering logic in the Content API. An attacker can access and read arbitrary data from the database by injecting crafted SQL queries through the filter parameter in API requests.

Workaround

This vulnerability can be mitigated by configuring a reverse proxy or WAF rule to block Content API requests containing slug%3A%5B or slug:[ in the query string filter parameter.

CVSS Base Scores

version 4.0
version 3.1