Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. sanitize-html
  4. ›
  5. CVE-2026-84371

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

September 1, 2026

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.

References

  • github.com/advisories/GHSA-g8qq-57p8-ggw5
  • github.com/apostrophecms/apostrophe/blob/main/packages/sanitize-html/CHANGELOG.md
  • github.com/apostrophecms/apostrophe/commit/1135516a1a4a8f9638641c460488a43d8af20081
  • github.com/apostrophecms/apostrophe/commit/38ff1106c8176b16c2da9872acd9b449adcbb949
  • github.com/apostrophecms/apostrophe/pull/5552
  • github.com/apostrophecms/apostrophe/security/advisories/GHSA-g8qq-57p8-ggw5
  • nvd.nist.gov/vuln/detail/CVE-2026-84371

Code Behaviors & Features

Detect and mitigate CVE-2026-84371 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.9.0 before 2.17.7

Fixed versions

  • 2.17.7

Solution

Upgrade to version 2.17.7 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/sanitize-html/CVE-2026-84371.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.