Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support trusted-types reports delivered as CSP violations #14698

Closed
shekyan opened this issue Sep 13, 2019 · 4 comments
Closed

Support trusted-types reports delivered as CSP violations #14698

shekyan opened this issue Sep 13, 2019 · 4 comments
Assignees
Labels

Comments

@shekyan
Copy link

shekyan commented Sep 13, 2019

Summary

Trusted Types API uses CSP reporting to deliver violations. Sentry refuses to accept those because Invalid security report: u'trusted-types' is not one of ['base-uri', 'child-src', 'connect-src', 'default-src', 'font-src', 'form-action', 'frame-ancestors', 'frame-src', 'img-src', 'manifest-src', 'media-src', 'object-src', 'plugin-types', 'prefetch-src', 'referrer', 'script-src', 'script-src-attr', 'script-src-elem', 'style-src', 'style-src-elem', 'style-src-attr', 'upgrade-insecure-requests', 'worker-src']

Motivation

Trusted Types is a promising API that helps eliminate DOM XSS in the document.

Additional Context

Changes to violation object

@BYK BYK self-assigned this Oct 22, 2020
@BYK BYK added the Security label Oct 22, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2021

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Accepted, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@artursvonda
Copy link

Bump

@markstory
Copy link
Member

My concern with trusted-types is that it is still in the draft stage, and that it is only implemented in a single browser.

@github-actions github-actions bot closed this as completed Sep 8, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 24, 2021
@oioki
Copy link
Member

oioki commented Mar 17, 2023

For the reference, Trusted Types (and some other missing CSP directives) are supported since getsentry/relay#876

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants