Cross-Site Scripting Vulnerability in Poppler pdftohtml
CVE-2026-131843
5.3MEDIUM
What is CVE-2026-131843?
The pdftohtml utility in Poppler up to version 26.11.0 is susceptible to a cross-site scripting vulnerability. This issue arises in the HtmlLink::getLinkStart() function within the utils/HtmlLinks.cc file, where PDF link annotation URIs are incorporated into href attributes without proper escaping when generating HTML output. Malicious attackers can craft specially designed PDF files, embedding double quotes followed by HTML markup or event handlers to execute scripts in the browsers of users viewing the converted HTML. This vulnerability poses significant risks as it may lead to the execution of unauthorized scripts, compromising the security and integrity of web applications.
Affected Version(s)
poppler 0 <= 26.11.0
