توضیح (فارسی)
validator.js 13.15.22 تا 13.15.35 شامل بypass allowlist پروتکل در isURL() است که javascript: URLs را به نادرستی به عنوان پروایهای هاست و پورت تجزیه میکند و چک cleanUpProtocol() را نادیده میگیرد. مهاجم میتوانند لینکهایی مانند javascript:1/ را با اسکریپت اضافه به برنامههایی که require_tld: false استفاده میکنند ارسال کنند، که منجر به XSS میشود وقتی قربانیان روی href Render شده کلیک میکنند.
Original description (English)
validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascript: URLs as host and port pairs, skipping the cleanUpProtocol() check. Attackers can submit links like javascript:1/ followed by script to applications using require_tld: false, causing cross-site scripting when victims click the rendered href.