Skip to content
OpenAdvisories
High · 7.1 CVE-2024-41656 EUVD-2024-2337GHSA-fm88-hc3v-3wwwPYSEC-2026-1914

Sentry vulnerable to stored Cross-Site Scripting (XSS)

Published Jul 23, 2024 · Updated Aug 13, 2024 · Assigned by GitHub_M

Description

Sentry is an error tracking and performance monitoring platform. Starting in version 10.0.0 and prior to version 24.7.1, an unsanitized payload sent by an Integration platform integration allows storing arbitrary HTML tags on the Sentry side with the subsequent rendering them on the Issues page. Self-hosted Sentry users may be impacted in case of untrustworthy Integration platform integrations sending external issues from their side to Sentry. A patch has been released in Sentry 24.7.1. For Sentry SaaS customers, no action is needed. This has been patched on July 23, and even prior to the fix, the exploitation was not possible due to the strict Content Security Policy deployed on sentry.io site. For self-hosted users, the maintainers of Sentry strongly recommend upgrading Sentry to the latest version. If it is not possible, one could enable CSP on one's self-hosted installation with `CSP_REPORT_ONLY = False` (enforcing mode). This will mitigate the risk of cross-site scripting.

Affected products

VendorProductAffectedFixed
getsentry sentry >= 10.0.0, < 24.7.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI sentry >= 10.0.0, < 24.7.1 24.7.1 GHSA-fm88-hc3v-3www

References