CVE-2023-32325
MEDIUM 6.1CVSS 3.1Potential for cross-site scripting in PostHog-js
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.
- Published
- 27 May 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-8775-5hwv-wr6v
- Sources
- NVDJSONOSV GHSA-8775-5hwv-wr6vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | posthog | posthog-jscpe:2.3:a:posthog:posthog-js:*:*:*:*:*:*:*:* |
< 1.57.2 | 1.57.2 |
| OSV | npm | posthog-js | < 1.57.2 | 1.57.2 |
References
- https://github.com/PostHog/posthog-js/commit/67e07eb8bb271a3a6f4aa251382e4d25abb385a0 · Patch, WEB
- https://github.com/PostHog/posthog-js/security/advisories/GHSA-8775-5hwv-wr6v · Vendor Advisory, 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
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 27 May 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 22 May 2023)