{"id":"GHSA-8775-5hwv-wr6v","revision":"fdbf33b98c3f431a93238a9b9424daa1","records":[{"revision":"fdbf33b98c3f431a93238a9b9424daa1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-8775-5hwv-wr6v","aliases":["CVE-2023-32325"],"title":"Potential for cross-site scripting in PostHog-js","description":"### 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","state":0,"publishedAt":"2023-05-22T20:35:03+00:00","modifiedAt":"2026-09-10T03:50:01.2548511+00:00","affected":[{"ecosystem":"npm","name":"posthog-js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.57.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/PostHog/posthog-js/security/advisories/GHSA-8775-5hwv-wr6v","https://nvd.nist.gov/vuln/detail/CVE-2023-32325","https://github.com/PostHog/posthog-js/pull/630","https://github.com/PostHog/posthog-js/commit/67e07eb8bb271a3a6f4aa251382e4d25abb385a0","https://github.com/PostHog/posthog-js"],"sourceUrl":"https://github.com/advisories/GHSA-8775-5hwv-wr6v","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8775-5hwv-wr6v","identifiers":["GHSA-8775-5hwv-wr6v","CVE-2023-32325"]},"retained":false,"historicalAffected":[]}],"coverage":[]}