-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
9.43.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
We are using Sentry in a browser extension.
Our recent submission to Chrome store was rejected due to the risk of remote code injection pointing to the following code snippet:
static/background/index.js: r = t ? .getOptions() ? .cdnBaseUrl || "https://browser.sentry-cdn.com"; return new URL(`/${(0,s.SDK_VERSION)}/${e}.min.js`, r).toString()Expected Result
@sentry/browser should not include the ability to inject remote code.
Actual Result
@sentry/browser includes the ability to execute remote code.
Metadata
Metadata
Assignees
Projects
Status
No status