JLSEC-2026-2351: Poppler pdftohtml through 26.11.0 contains a cross-site scripting vulnerability in HtmlLink:...
Poppler pdftohtml through 26.11.0 contains a cross-site scripting vulnerability in HtmlLink::getLinkStart() in utils/HtmlLinks.cc that writes PDF link annotation URIs into href attributes without escaping in HTML output modes. Attackers can craft a PDF whose /URI entry contains a double quote followed by HTML markup or event handlers to execute script in browsers viewing the generated HTML.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Users or services that run pdftohtml on attacker-controlled PDFs and then open or serve the generated HTML in a browser are exposed. The vulnerable behavior affects HTML output modes that emit PDF link annotation URIs into href attributes.
What does an attacker need to exploit it?
An attacker needs to provide a crafted PDF containing a link annotation with a /URI value that includes a double quote followed by HTML markup or event handlers. A user must then view the generated HTML in a browser.
Are deployments affected by default?
The issue is in pdftohtml HTML output handling, so it requires converting a PDF to HTML and viewing that output in a browser. The provided data does not establish whether any particular application enables or exposes this workflow by default.
What can be done if patching is not immediately possible?
Avoid converting untrusted PDFs to HTML for browser viewing. If conversion is required, treat generated HTML as untrusted and prevent it from executing in a browser context.
How can I determine whether I am affected?
Identify whether your environment uses the julia/poppler_jll package and invokes pdftohtml on untrusted PDFs. Versions of Poppler through 26.11.0 are described as affected.