GitHub Advisoryadvisory · npm
GHSA-v64v-fq96-c5wv PostHog Plugin Server SQL Injection Vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2025-1520
- Ecosystem
- npm
- Packages
- @posthog/plugin-server
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
- Reviewed
- 2025-04-23
Affected packages
• npm @posthog/plugin-server: <= 1.10.7 (no fix yet)
Description
PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of PostHog. Authentication is required to exploit this vulnerability.
The specific flaw exists within the implementation of the SQL parser. The issue results from the lack of proper validation of a user-supplied string before using it to construct SQL queries. An attacker can leverage this vulnerability to execute code in the context of the database account. Was ZDI-CAN-25350.
Related
Alias · CVE (1)
- CVE-2025-1520 PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability. vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness