sentry
Affected
- introduced
10.0.0, fixed24.7.1(ecosystem)
Fixed versions
24.7.1
Fix
- Fixed version
24.7.1pip install --upgrade sentry==24.7.1
Advisory
Also known as: CVE-2024-41656, PYSEC-2026-1914
Sentry vulnerable to stored Cross-Site Scripting (XSS)
Impact
An unsanitized payload sent by an Integration platform integration allows the storage of arbitrary HTML tags on the Sentry side. This payload could subsequently be rendered on the Issues page, creating a Stored Cross-Site Scripting (XSS) vulnerability. This vulnerability might lead to the execution of arbitrary scripts in the context of a user’s browser.
Self-hosted Sentry users may be impacted if untrustworthy Integration platform integrations send external issues to their Sentry instance.
Patches
The patch has been released in Sentry 24.7.1
Workarounds
For Sentry SaaS customers, no action is needed. This has been patched on July 22, 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, we strongly recommend upgrading Sentry to the latest version. If it is not possible, you could enable CSP on your self-hosted installation with CSP_REPORT_ONLY = False (enforcing mode). This will mitigate the risk of XSS.
References
High Basis: The source's own band: HIGH
10.0.0, fixed 24.7.1 (ecosystem)24.7.1
24.7.1pip install --upgrade sentry==24.7.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0