Cross Site Scripting (Reflected)
-
Hello,
A security scan of one of our sites that uses MLA came back with an issue regarding potential cross-site scripting.
Request:
GET .../?mla_paginate_current=2&ak8tq%2522onmouseover%253d%2522alert%25281%2529%2522style%253d%2522position%253aabsolute%253bwidth%253a100%2525%253bheight%253a100%2525%253btop%253a0%253bleft%253a0%253b%2522yvx42=1 HTTP/1.1
Response:
<a class="prev page-numbers" href=".../?ak8tq"onmouseover="alert(1)"style="position:absolute;width:100%;height:100%;top:0;left:0;"yvx42=1&mla_paginate_current=1">
Inserting this into the query string echoes the input and causes a javascript popup. Is there any way to validate the query string input for MLA parameters?
- The topic ‘Cross Site Scripting (Reflected)’ is closed to new replies.