{"id":"CVE-2023-32325","aliases":["GHSA-8775-5hwv-wr6v"],"url":"https://o3.security/vulnerability/CVE-2023-32325","summary":"Cross-site scripting in PostHog-js","details":"### Impact\n\nPotential for cross-site scripting in `posthog-js`.\n\n### Patches\n\nThe problem has been patched in `posthog-js` version 1.57.2.\n\n### Workarounds\n\n- This isn't an issue for sites that have a Content Security Policy in place.\n- 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.\n\n### References\n\nWe will publish details of the vulnerability in 30 days as per our [security policy](https://posthog.com/handbook/company/security#policies).\n","published":"2023-05-26T23:00:17.880Z","modified":"2026-08-12T03:51:23.269156846Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00429,"percentile":0.36558,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"posthog-js","fixedVersion":"1.57.2"}],"fix":{"url":"https://github.com/PostHog/posthog-js/commit/67e07eb8bb271a3a6f4aa251382e4d25abb385a0","label":"PostHog/posthog-js@67e07eb"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32325.json"},{"type":"ADVISORY","url":"https://github.com/PostHog/posthog-js/security/advisories/GHSA-8775-5hwv-wr6v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32325"},{"type":"FIX","url":"https://github.com/PostHog/posthog-js/commit/67e07eb8bb271a3a6f4aa251382e4d25abb385a0"},{"type":"WEB","url":"https://github.com/PostHog/posthog-js/pull/630"},{"type":"PACKAGE","url":"https://github.com/PostHog/posthog-js"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:23.269156846Z"}}