Invia #958312: rhukster dom-sanitizer <= 1.0.15 Improper Input Validationinformazioni

Titolorhukster dom-sanitizer <= 1.0.15 Improper Input Validation
Descrizionerhukster/dom-sanitizer is a widely used PHP HTML and SVG sanitization library designed to secure applications—including popular CMS platforms like Grav—against cross-site scripting (XSS) and malicious payload injections. This advisory details a security bypass vulnerability affecting dom-sanitizer versions <= 1.0.15. The vulnerability stems from an overly restrictive scheme-validation gate in isDangerousUrl(), which exclusively targets href and xlink:href attributes. Consequently, other URL-bearing attributes in the default allow-list—most notably form action—fail to undergo dangerous scheme validation, allowing javascript: and arbitrary data: URIs to survive sanitization unhindered. This enables an attacker to construct a submittable form with a javascript: action, leading to Stored Cross-Site Scripting (XSS) upon user interaction. For complete technical details, including the Root Cause Analysis (RCA), exact affected code paths, and full Steps to Reproduce (PoC), please refer to the official, publicly disclosed GitHub Security Advisory linked below
Fonte⚠️ https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-mrpv-6x26-mf6c
Utente
 0xMo-Error (UID 100917)
Sottomissione03/09/2026 17:22 (28 giorni fa)
Moderazione01/10/2026 11:31 (28 days later)
StatoAccettato
Voce VulDB412550 [rhukster dom-sanitizer fino a 1.0.15 URL Validation src/DOMSanitizer.php isDangerousUrl cross site scripting]
Punti20

Do you want to use VulDB in your project?

Use the official API to access entries easily!