-
Notifications
You must be signed in to change notification settings - Fork 37
Trusted Types #186
Copy link
Copy link
Closed
Labels
concerns: complexityThis proposal seems needlessly complexThis proposal seems needlessly complexfrom: GoogleProposed, edited, or co-edited by Google.Proposed, edited, or co-edited by Google.position: supporttopic: javascriptSpec relates to the JavaScript programming languageSpec relates to the JavaScript programming languagetopic: securityvenue: W3C Web Application Security WGProposal is being reviewed in the W3C's Web Application Security WG (aka WebAppSec)Proposal is being reviewed in the W3C's Web Application Security WG (aka WebAppSec)
Metadata
Metadata
Assignees
Labels
concerns: complexityThis proposal seems needlessly complexThis proposal seems needlessly complexfrom: GoogleProposed, edited, or co-edited by Google.Proposed, edited, or co-edited by Google.position: supporttopic: javascriptSpec relates to the JavaScript programming languageSpec relates to the JavaScript programming languagetopic: securityvenue: W3C Web Application Security WGProposal is being reviewed in the W3C's Web Application Security WG (aka WebAppSec)Proposal is being reviewed in the W3C's Web Application Security WG (aka WebAppSec)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Done
WebKittens
@annevk @hober @marcoscaceres
Title of the spec
Trusted Types
URL to the spec
https://www.w3.org/TR/trusted-types/
URL to the spec's repository
https://github.com/w3c/trusted-types/tree/main/spec
TAG Design Review URL
w3ctag/design-reviews#198
Mozilla standards-positions issue URL
mozilla/standards-positions#20
WebKit Bugzilla URL
No response
Radar URL
No response
Description
Trusted Types is an optional browser mechanism for web sites to help protect themselves against cross-site scripting (XSS) attacks. It limits the attack surface from potentially the entire code base to a handful of "policies" that a developer can implement and install, and the browser will then enforce. Trusted Types can help to ensure that risky parts of the DOM can only be used by data that has gone through such a developer-supplied policy.
Sharing some data points that might be useful to consider while evaluating the position:
XSS is still prevalent in Web Applications:
#1vulnerability in HackerOne 2021 industry report#1vulnerability in Bugcrowd 2021 Report#2vulnerability in 2022 CWE Top 25 list#3vulnerability in Injection category in 2021 OWASP report (note that the category contains other vulnerability types),#3vulnerability in CVE charts in 2022Adoption across the Internet:
Existing Browser Support
Supporting Trusted Types in Safari would match the level of protection in other browsers and would add additional defense against XSS.