v1.7.1 / 2026-07-15
-
SVG reference elements now restrict both
hrefandxlink:hrefto local references.Previously
PermitScrubberrestricted onlyxlink:hrefon elements inSVG_ALLOW_LOCAL_HREF,
so a plainhrefattribute on those elements could reference an external document. Applications
are only affected if the allowed tags are overridden to include an SVG reference element such as
use; the default configuration is not affected.This change addresses GHSA-cj75-f6xr-r4g7 (CVE requested). The minimum Loofah dependency is now
~> 2.25, >= 2.25.2.Mike Dalessio @flavorjones