Used the MPDF library to convert HTML to PHP conversion. It is working fine. We scanned our application through coverity security scanner including the dependency libraries.