w3c / editing

Specs and explainers maintained by the editing task force
http://w3c.github.io/editing/
Other
191 stars 40 forks source link

Upstream changes from trusted types #461

Closed lukewarlow closed 4 months ago

lukewarlow commented 5 months ago

This issue is to ask if it would be okay to upstream a change from the trusted types spec. Trusted types are a security mechanism to reduce XSS vulenerabilties, this is achieved via a new API that can allows creation of trusted objects based on policies. Most of the XSS sinks are covered by changing their IDL type to one defined in TT spec which handles all the checks neccessary.

The editing specific section of the spec changes execCommand: https://w3c.github.io/trusted-types/dist/spec/#integration-with-exec-command

zcorpan commented 5 months ago

Yes, I think it's OK to upstream.