| 제목 | rhukster dom-sanitizer <= 1.0.15 Improper Input Validation |
|---|
| 설명 | rhukster/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 |
|---|
| 원천 | ⚠️ https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-mrpv-6x26-mf6c |
|---|
| 사용자 | 0xMo-Error (UID 100917) |
|---|
| 제출 | 2026. 09. 03. PM 05:22 (29 날 ago) |
|---|
| 모더레이션 | 2026. 10. 01. AM 11:31 (28 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 412550 [rhukster dom-sanitizer 까지 1.0.15 URL Validation src/DOMSanitizer.php isDangerousUrl 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 20 |
|---|