# CVE-2023-32325: Cross-site scripting in PostHog-js

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2023-05-22T20:35:03.000Z
- Modified: 2026-09-10T03:50:01.254Z
- Also known as: GHSA-8775-5hwv-wr6v
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- PostHog posthog-js: < 1.57.2; before 1.57.2
- posthog-js (npm): before 1.57.2

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/PostHog/posthog-js/security/advisories/GHSA-8775-5hwv-wr6v> (vendor-advisory, web)
- <https://github.com/PostHog/posthog-js/commit/67e07eb8bb271a3a6f4aa251382e4d25abb385a0> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-32325> (advisory)
- <https://github.com/PostHog/posthog-js/pull/630> (web)
- <https://github.com/PostHog/posthog-js> (package)

## Sources

- CVE List: [CVE-2023-32325](https://www.cve.org/CVERecord?id=CVE-2023-32325), CVE Terms of Use, modified 2025-01-14
- GitHub Advisory Database: [GHSA-8775-5hwv-wr6v](https://github.com/advisories/GHSA-8775-5hwv-wr6v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-32325](https://nvd.nist.gov/vuln/detail/CVE-2023-32325), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-32325 · Whole record: https://cve.day/CVE-2023-32325.json · Rebuilt by cve.day 2026-11-25T22:58:24.414Z
