posthog-js@1.39.2 vulnerabilities

Posthog-js allows you to automatically capture usage and send events to PostHog.

Direct Vulnerabilities

Known vulnerabilities in the posthog-js package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

posthog-js is a Posthog-js allows you to automatically capture usage and send events to PostHog.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the JS and API URLs. This allows a low-privileged user to execute scripts.

How to fix Cross-site Scripting (XSS)?

Upgrade posthog-js to version 1.57.2 or higher.

<1.57.2