CVE-2023-32325 json
Cross-site scripting in PostHog-js
published 3y ago modified 2mo ago also EUVD-2023-1501 , GHSA-8775-5hwv-wr6v
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm posthog-js 1.57.2
- posthog posthog-js 1.57.2
- github.com/PostHog/posthog-js@67e07eb commit
- github.com/PostHog/posthog-js#630 pull request
Is CVE-2023-32325 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | posthog-js | <1.57.2 |
1.57.2 |
Affected products
- PostHog posthog-js
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/PostHog/posthog-js/commit/67e07eb8bb271a3a6f4aa251382e4d25abb385a0
web, patch
-
github.com
/PostHog/posthog-js/pull/630
web
-
github.com
/PostHog/posthog-js/security/advisories/GHSA-8775-5hwv-wr6v
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-32325
advisory
-
github.com
/PostHog/posthog-js
package
Sources
- CVE List CVE-2023-32325
- GitHub Advisory GHSA-8775-5hwv-wr6v
- NVD CVE-2023-32325
- Maintainer advisory GHSA-8775-5hwv-wr6v
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of PostHog/posthog-js published their own advisory on GitHub. Reviewed sources take precedence over it.