Back to list

ApostropheCMS: Stored XSS via SVG SMIL URI-list scheme-policy bypass — GHSA-G8QQ-57P8-GGW5

GitHub · GitHub · GHSA-G8QQ-57P8-GGW5

ID
GHSA-G8QQ-57P8-GGW5
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
5.4

Summary

### Summary 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. ### Details `index.js:371-383` validates each attribute as one flat URL. It does not recognize that…

Timeline

Published by source
2026-09-01

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 5.4 out of 10.
  • Review exposure for the affected product or family: npm: sanitize-html.

Product

npm: sanitize-html

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-G8QQ-57P8-GGW5
Source
GitHub
Vendor
GitHub
Published by source
2026-09-01
Last source activity
2026-09-01
Additional identifiers
CVE-2026-84371
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.