posthog-js@1.39.2 vulnerabilities

Posthog-js allows you to automatically capture usage and send events to PostHog.

  • latest version

    1.276.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    2 days ago

  • licenses detected

    • >=1.0.0 <1.237.0
  • Direct Vulnerabilities

    Known vulnerabilities in the posthog-js package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    posthog-js is a Posthog-js allows you to automatically capture usage and send events to PostHog.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the JS and API URLs. This allows a low-privileged user to execute scripts.

    How to fix Cross-site Scripting (XSS)?

    Upgrade posthog-js to version 1.57.2 or higher.

    <1.57.2