GHSA-fm88-hc3v-3www

Suggest an improvement
Source
https://github.com/advisories/GHSA-fm88-hc3v-3www
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-fm88-hc3v-3www/GHSA-fm88-hc3v-3www.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fm88-hc3v-3www
Aliases
Published
2024-07-23T20:46:39Z
Modified
2024-07-24T14:16:48.140555Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Sentry vulnerable to stored Cross-Site Scripting (XSS)
Details

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

References

Affected packages

PyPI / sentry

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
10.0.0
Fixed
24.7.1

Affected versions

10.*

10.0.0
10.0.1

20.*

20.6.0
20.7.0
20.7.1
20.7.2
20.8.0
20.10.1
20.11.0
20.11.1
20.12.0
20.12.1

21.*

21.1.0
21.2.0
21.3.0
21.3.1
21.4.0
21.4.1
21.5.0
21.5.1
21.6.0
21.6.1
21.6.2
21.6.3
21.7.0
21.8.0
21.9.0
21.10.0
21.11.0
21.12.0

22.*

22.1.0
22.2.0
22.3.0
22.4.0
22.5.0
22.6.0
22.7.0
22.8.0
22.9.0
22.10.0
22.11.0
22.12.0

23.*

23.1.0
23.1.1
23.2.0
23.3.0
23.3.1
23.4.0
23.5.0
23.5.1
23.5.2
23.6.0
23.6.1
23.6.2
23.7.0
23.7.1