Skip to content

v6.1.0

Compare
Choose a tag to compare
@dgreif dgreif released this 06 Dec 22:22
· 23 commits to main since this release
5dfb899

CSP trusted types is an API that allows a website to reduce the possibility of XSS by controlling what kind of content can be placed in a "sink" like .innerHTML.

This release introduces a flexible callback that allows the calling code to provide its own sanitization or rejection of an server response for an <include-fragment-element>. For example, the site may want to allow the server to send a header to assert that certain HTML is sanitized and safe to use as-is, or the site may want to run the response through a sanitizer.

What's Changed

New Contributors

Full Changelog: v6.0.1...v6.1.0