CVE-2025-1520 – @posthog/plugin-server
Package
Manager: npm
Name: @posthog/plugin-server
Vulnerable Version: >=0 <=1.10.7
Severity
Level: High
CVSS v3.1: CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00067 pctl0.21036
Details
PostHog Plugin Server SQL Injection Vulnerability 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.
Metadata
Created: 2025-04-23T18:30:58Z
Modified: 2025-04-23T19:38:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-v64v-fq96-c5wv/GHSA-v64v-fq96-c5wv.json
CWE IDs: ["CWE-89"]
Alternative ID: GHSA-v64v-fq96-c5wv
Finding: F297
Auto approve: 1