logo

CVE-2023-32325 posthog-js

Package

Manager: npm
Name: posthog-js
Vulnerable Version: >=0 <1.57.2

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00492 pctl0.64656

Details

Potential for cross-site scripting in PostHog-js ### Impact Potential for cross-site scripting in `posthog-js`. ### Patches The problem has been patched in `posthog-js` version 1.57.2. ### Workarounds - This isn't an issue for sites that have a Content Security Policy in place. - Using the HTML tracking snippet on PostHog Cloud always guarantees the latest version of the library – in that case no action is required to upgrade to the patched version. ### References We will publish details of the vulnerability in 30 days as per our [security policy](https://posthog.com/handbook/company/security#policies).

Metadata

Created: 2023-05-22T20:35:03Z
Modified: 2023-05-29T16:13:02Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-8775-5hwv-wr6v/GHSA-8775-5hwv-wr6v.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-8775-5hwv-wr6v
Finding: F008
Auto approve: 1