1. Archivio CVE
  2. 2026
  3. CVE-2026-145156

CVE-2026-145156

4.7 Gravità media CVSS v3.1 · fonte CNA CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N 4.7 – Media

Descrizione

sanitize-html 2.17.7 before 2.18.2 contains a cross-site scripting vulnerability that allows attackers to bypass allowedSchemes by supplying SVG animation attributeName values with multiple colons. Attackers can submit markup like attributeName xlink:href:x with javascript: URLs in values, from, or to attributes, executing script when victims click the animated link.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apostrophecms sanitize-html >= 2.17.7 < 2.18.2 –
Tutte le 15 vulnerabilità di Apostrophecms Sanitize-html

Tipo di vulnerabilità

CWE-184 Incomplete List of Disallowed Inputs

The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Sviluppo · Validazione dell’input Do not rely exclusively on detecting disallowed inputs. There are too many variants to encode a character, especially when different environments are used, so there is a high likelihood of missing some variants. Only use detection of disallowed inputs as a mechanism for detecting suspicious activity. Ensure that you are using other protection mechanisms that only identify good input - such as lists of allowed inputs - and ensure that you are properly encoding your outputs.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 212 CVE di tipo CWE-184, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org