Live threats

All CVEs / Posthog

CVE-2023-32325Posthog-js

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.5%
probability of exploitation in 30 days · percentile 38
Auth required
No
Published
May 27, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

PostHog-js is a library to interface with the PostHog analytics tool. Versions prior to 1.57.2 have the potential for cross-site scripting. Problem has been patched in 1.57.2. Users are advised to upgrade. Users unable to upgrade should ensure that their Content Security Policy is in place.

Original NVD text.

What to do

  1. Apply the vendor's security update for Posthog-js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm posthog-js < 1.57.2 1.57.2 npm install posthog-js@1.57.2

Per OSV / GitHub Advisories (GHSA-8775-5hwv-wr6v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
posthogposthog-js< 1.57.2

Official sources

References

Links published by the sources. Open them with care.