This is a security release to address a potential cross-site scripting (XSS) vulnerability when using the AttributesExtension
with untrusted user input.
Added
- Added
attributes/allow
config option to specify which attributes users are allowed to set on elements (default allows virtually all attributes)
Changed
- The
AttributesExtension
blocks all attributes starting withon
unless explicitly allowed via theattributes/allow
config option - The
allow_unsafe_links
option is now respected by theAttributesExtension
when users specifyhref
andsrc
attributes