Vulnerability library
Security checkSeptember 01, 2026

ApostropheCMS: Stored XSS via SVG SMIL URI-list scheme-policy bypass

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmsanitize-html

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

When SVG animation is allowed, attributeName="href" makes values a list of URL destinations. sanitize-html accepts a list that starts with a safe fragment even when values is explicitly scheme-checked, allowing a later javascript: destination to execute when the sanitized link is activated.

Recommendation

Update the sanitize-html package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 1.9.0, <= 2.17.6
  • Patched version(s): 2.17.7

References

Could your website be exposed too?

SmartScanner can check your website for ApostropheCMS: Stored XSS via SVG SMIL URI-list scheme-policy bypass and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 01, 2026