توضیح (فارسی)
یک آسیبپذیری Cross-Site Scripting در کتابخانه Masterminds html5-php قبل از نسخه 2.12.0 وجود دارد. این مسئله ناشی از پردازش نامناسب اعلانهای namespace xmlns در طول serialization خروجی است، که به مهاجمان امکان تزریق اسکریپتهای مخرب را میدهد. با ارسال HTML با مقادیر xmlns:x بهصورت خاص، مهاجمان میتوانند sanitizerهای معمولی DOM-walking را دور بزنند، که به آنها امکان اجرای اسکریپت در بستر برنامههای وب قابل اعتماد را میدهد.
Original description (English)
A cross-site scripting vulnerability exists in the Masterminds html5-php library prior to version 2.12.0. This issue arises from improper handling of xmlns namespace declarations during the serialization of output, which allows attackers to inject malicious scripts. By submitting HTML with specifically crafted xmlns:x values, attackers can bypass standard DOM-walking sanitizers, enabling them to execute scripts in the context of trusted web applications.