PyPI: sentry
CVE-2024-41656
Safety vulnerability ID: SFTY-20240723-66590
Safety legacy ID: pyup.io-72350
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.
Overview
Sentry vulnerable to stored Cross-Site Scripting (XSS)
Advisory
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.
How to Fix
We recommend updating sentry to the latest non-vulnerable version.
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20240723-66590/CVE-2024-41656
- https://github.com/getsentry/sentry/security/advisories/GHSA-fm88-hc3v-3www
- https://github.com/getsentry/sentry/pull/74648
- https://github.com/getsentry/self-hosted/releases/tag/24.7.1
- https://nvd.nist.gov/vuln/detail/CVE-2024-41656
- https://github.com/getsentry/sentry/commit/5c679521f1539eabfb81287bfc30f34dbecd373e
- https://github.com/advisories/GHSA-fm88-hc3v-3www
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
