XSS prevention for Pug templates with typesafe exceptions


Keywords
xss, pug, template, trusted-types, security
Licenses
MIT/Apache-2.0
Install
npm install pug-plugin-trusted-types@2.0.2

Documentation

Pug Trusted Types Plugin Monorepo

This is an umbrella project. ./packages/plugin is the best place to get started.


Hooks into Pug to add Trusted Types checks to key attributes to reduce the risk of XSS.