{"id":"GHSA-593m-55hh-j8gv","aliases":["GHSA-593m-55hh-j8gv"],"related":[],"kind":"vulnerability","state":"published","title":"Sentry SDK Prototype Pollution gadget in JavaScript SDKs","summary":"### Impact\nIn case a Prototype Pollution vulnerability is present in a user's application or bundled libraries, the Sentry SDK could potentially serve as a gadget to exploit that vulnerability. The exploitability depends on the specific details of the underlying Prototype Pollution issue.\n\n> [!NOTE]\n> This advisory does not indicate the presence of a Prototype Pollution within the Sentry SDK itself. Users are strongly advised to first address any Prototype Pollution vulnerabilities in their application, as they pose a more critical security risk.\n\n### Patches\nThe issue was patched in all Sentry JavaScript SDKs starting from the [8.33.0](https://github.com/getsentry/sentry-javascript/releases/tag/8.33.0) version.\nAlso, the fix was backported to SDK v7 in [7.119.1](https://github.com/getsentry/sentry-javascript/releases/tag/7.119.1).\n\n### References\n* [Prototype Pollution](https://portswigger.net/web-security/prototype-pollution)\n* [Prototype Pollution gadgets](https://portswigger.net/web-security/prototype-pollution#prototype-pollution-gadgets)\n* [sentry-javascript#13838](https://github.com/getsentry/sentry-javascript/pull/13838)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nIn case a Prototype Pollution vulnerability is present in a user's application or bundled libraries, the Sentry SDK could potentially serve as a gadget to exploit that vulnerability. The exploitability depends on the specific details of the underlying Prototype Pollution issue.\n\n> [!NOTE]\n> This advisory does not indicate the presence of a Prototype Pollution within the Sentry SDK itself. Users are strongly advised to first address any Prototype Pollution vulnerabilities in their application, as they pose a more critical security risk.\n\n### Patches\nThe issue was patched in all Sentry JavaScript SDKs starting from the [8.33.0](https://github.com/getsentry/sentry-javascript/releases/tag/8.33.0) version.\nAlso, the fix was backported to SDK v7 in [7.119.1](https://github.com/getsentry/sentry-javascript/releases/tag/7.119.1).\n\n### References\n* [Prototype Pollution](https://portswigger.net/web-security/prototype-pollution)\n* [Prototype Pollution gadgets](https://portswigger.net/web-security/prototype-pollution#prototype-pollution-gadgets)\n* [sentry-javascript#13838](https://github.com/getsentry/sentry-javascript/pull/13838)","format":"markdown","source":"ghsa"}],"published":"2024-10-03T18:26:53.000Z","modified":"2024-10-04T16:32:02.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-913"],"affected":[{"ranges":[{"type":"semver","introduced":"8.0.0-alpha.1","status":"affected","fixed":"8.33.0"}],"ecosystem":"npm","package":"@sentry/browser","purl":"pkg:npm/%40sentry/browser","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.119.1"}],"ecosystem":"npm","package":"@sentry/browser","purl":"pkg:npm/%40sentry/browser","source":"ghsa"}],"references":[{"url":"https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-593m-55hh-j8gv","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/getsentry/sentry-javascript/pull/13838","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/getsentry/sentry-javascript/commit/35bdc87dee3498794e34c1ad35dd9927950c8766","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/getsentry/sentry-javascript","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/getsentry/sentry-javascript/releases/tag/7.119.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/getsentry/sentry-javascript/releases/tag/8.33.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-593m-55hh-j8gv","url":"https://github.com/advisories/GHSA-593m-55hh-j8gv","licence":"CC-BY-4.0","modified":"2024-10-04T16:32:02.000Z"}],"updatedAt":"2026-11-25T22:56:44.153Z"}