Bug Bounty - GitBook
Открыть в Telegram
8 149
Подписчики
-124 часа
+307 дней
+13030 дней
Архив постов
8 151
برا تست اشتراک گزاری صفحه نوشن کمک میخام
یک نفر فارسی زبان کسی هست بیاد دایرکت کانال
8 151
8 151
8 151
When a redirect param drops your value into Location: or into client-side code like window.location = params.get('next'), you don't just control a destination — you potentially control a scheme. And javascript:alert(document.domain) is a perfectly valid URL scheme as far as a browser is concerned.
8 151
Why open redirect + XSS live in the same house
Most hunters treat these as two separate bugs. That's the mistake. An open redirect is you controlling where the browser goes next. XSS is you controlling what the browser executes. The bridge between them is the humble javascript: URI scheme.
8 151
Open redirect = "I control the URL."
If I control the URL, I might control the scheme.
If I control the scheme, javascript: = XSS.
