Skip to content

v1.6.11.2

Choose a tag to compare

@twalichiewicz twalichiewicz released this 23 Aug 08:10
· 67 commits to main since this release
Immutable release. Only release title and notes can be modified.
d6159a3

v1.6.11.2

This version includes a security fix that affects every version through 1.6.11.1. Reported by
shahzadhussain786700. GHSA-46p3-549m-2hhv

Fixes

  • Fix an allowlist bypass in sanitizeHTML. Unwrapping a disallowed tag
    spliced its children into positions the traversal had already passed,
    so promoted nodes never faced the allowlist. Event handlers and
    javascript: hrefs survived one level of any wrapper and executed on
    whatever origin the panel was open on.
    • Now cleans each fragment before splicing it, and allocate it from the
      template's inert document so adoption into the live document cannot
      fire a handler during sanitizing.