{"id":"CVE-2023-46729","aliases":["CVE-2023-46729","GHSA-2rmr-xw8m-22q9"],"related":[],"kind":"vulnerability","state":"published","title":"Sentry Next.js vulnerable to SSRF via Next.js SDK tunnel endpoint","summary":"sentry-javascript provides Sentry SDKs for JavaScript. An unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This issue only affects users who have Next.js SDK tunneling feature enabled. The problem has been fixed in version 7.77.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"sentry-javascript provides Sentry SDKs for JavaScript. An unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This issue only affects users who have Next.js SDK tunneling feature enabled. The problem has been fixed in version 7.77.0.","source":"cvelist"},{"lang":"en","text":"### Impact\nAn unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This could open door for other attack vectors:\n* client-side vulnerabilities: XSS/CSRF in the context of the trusted domain;\n* interaction with internal network;\n* read cloud metadata endpoints (AWS, Azure, Google Cloud, etc.);\n* local/remote port scan.\n\nThis issue only affects users who have [Next.js SDK tunneling feature](https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#configure-tunneling-to-avoid-ad-blockers) enabled.\n\n### Patches\nThe problem has been fixed in [sentry/nextjs@7.77.0](https://www.npmjs.com/package/@sentry/nextjs/v/7.77.0)\n\n### Workarounds\nDisable tunneling by removing the `tunnelRoute` option from Sentry Next.js SDK config — `next.config.js` or `next.config.mjs`.\n\n### References\n* [Sentry Next.js tunneling feature](https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#configure-tunneling-to-avoid-ad-blockers)\n* [The fix](https://github.com/getsentry/sentry-javascript/pull/9415)\n* [More Information](https://blog.sentry.io/next-js-sdk-security-advisory-cve-2023-46729/)\n\n### Credits\n* [Praveen Kumar](https://hackerone.com/mr_x_strange)","format":"markdown","source":"ghsa"},{"lang":"es","text":"sentry-javascript proporciona SDK de Sentry para JavaScript. Una entrada no sanitizada del endpoint del túnel SDK de Next.js permite enviar solicitudes HTTP a URL arbitrarias y reflejar la respuesta al usuario. Este problema solo afecta a los usuarios que tienen habilitada la función de tunelización del SDK de Next.js. El problema se solucionó en la versión 7.77.0.","source":"nvd"}],"published":"2023-11-09T22:03:44.000Z","modified":"2026-09-10T03:49:58.724Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":9.3,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":">= 7.26.0, < 7.77.0","status":"affected"}],"vendor":"getsentry","product":"sentry-javascript","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"7.26.0","status":"affected","fixed":"7.77.0"}],"ecosystem":"npm","package":"@sentry/nextjs","purl":"pkg:npm/%40sentry/nextjs","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"7.26.0","fixed":"7.77.0"}],"vendor":"sentry","product":"sentry_software_development_kit","cpe":"cpe:2.3:a:sentry:sentry_software_development_kit:*:*:*:*:*:next.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-2rmr-xw8m-22q9","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/getsentry/sentry-javascript/pull/9415","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/getsentry/sentry-javascript/commit/ddbda3c02c35aba8c5235e0cf07fc5bf656f81be","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46729","tags":["advisory"],"sources":["ghsa"]},{"url":"https://blog.sentry.io/next-js-sdk-security-advisory-cve-2023-46729","tags":["web"],"sources":["ghsa"]},{"url":"https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#configure-tunneling-to-avoid-ad-blockers","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/getsentry/sentry-javascript","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/@sentry/nextjs/v/7.77.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-09-03T17:43:48.934Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-46729","url":"https://www.cve.org/CVERecord?id=CVE-2023-46729","licence":"CVE Terms of Use","modified":"2024-09-03T17:44:32.064Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2rmr-xw8m-22q9","url":"https://github.com/advisories/GHSA-2rmr-xw8m-22q9","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:58.724Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-46729","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46729","licence":"Public domain","modified":"2026-06-17T06:31:26.010Z"}],"updatedAt":"2026-11-25T22:58:30.297Z","epss":{"score":0.00773,"percentile":0.56921,"date":"2026-12-01T12:00:22.000Z"}}