Skip to main content

Poppler pdftohtml CVE-2026-131843

| EUVDEUVD-2026-128337 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-18 disclosure@vulncheck.com GHSA-c54m-h2gj-xq9j
5.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft PDF with malicious /URI annotation
  2. Delivery
    Submit to pdftohtml HTML-conversion workflow
  3. Exploit
    Unescaped URI breaks out of href attribute
  4. Execution
    Victim opens generated HTML in browser
  5. Impact
    Injected script executes in page context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that pdftohtml be run in an HTML-producing output mode on an attacker-supplied PDF, and that the resulting HTML then be rendered in a browser; the malicious payload must be placed in a PDF /URI link annotation value (a double quote plus HTML/event-handler markup) so it breaks out of the href attribute. Limiting factors: the attack needs passive user interaction (UI:P) - a victim must view the generated HTML - and a deployment that converts untrusted PDFs and exposes the output in a browser; plain text extraction or non-HTML output modes without hyperlink rendering are not affected. No special privileges or authentication are required against the conversion step (PR:N).

Impact

This is a medium-severity, chain-dependent XSS rather than a drop-everything priority. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) scores 5.3 and tells us exploitation is network-reachable and low-complexity but requires passive user interaction (UI:P) - a victim must open the HTML that pdftohtml generates. Impact is capped at VC:L/VI:L with a subsequent-system impact (SC:L/SI:L), consistent with script execution in the browser viewing the output rather than code execution on the conversion host. The vuln.today decision label is 'this_month', not act_now/emergency, which aligns with the limited impact. KEV status is not present in the input (treat as not actively exploited), and no EPSS score was provided, so widespread-exploitation probability cannot be quantified from this data - state this gap explicitly rather than inferring it. The references are a vendor advisory (VulnCheck), the upstream source line, and a GitLab work item; none is a confirmed working exploit, so this should not be read as weaponized. Real-world risk concentrates in environments that convert untrusted PDFs to HTML with pdftohtml and then serve or open that HTML in a browser (e.g. document-preview pipelines); outside that specific workflow the practical exposure is low.

Exploit ScenarioDerived

An attacker crafts a PDF whose /URI link annotation contains a double quote followed by HTML markup or an event handler, then submits it to a service or workflow that converts PDFs to HTML using pdftohtml. Because HtmlLink::getLinkStart() writes the URI into an href attribute without escaping, the injected markup breaks out of the attribute, and when a user opens the generated HTML in a browser the script executes in that page's context. No confirmed public exploit code is identified at time of analysis; only vendor advisory and source references exist.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Cross-site scripting in Poppler's pdftohtml utility (through 26.11.0) allows a crafted PDF to inject script into the HTML the tool generates, because the /URI value of a link annotation is written straight into an href attribute without escaping in HtmlLink::getLinkStart(). The chain is conditional: pdftohtml must be run in an HTML-producing output mode on attacker-supplied input and the resulting document then rendered in a browser, where a /URI containing a double quote plus markup breaks out of the attribute (CVSS 4.0 base 5.3; independently assessed CVSS 3.1 5.3, AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, reflecting script execution with limited confidentiality and integrity impact in the viewing context). No public exploit code was identified at time of analysis and no CISA KEV entry is associated with this issue; priority is this_month, reflecting a chain-dependent XSS rather than a drop-everything emergency.

RemediationAI

No vendor-released patch or fixed version was identified at time of analysis: the upstream references point to the vulnerable source and to work item 1851 (https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1851) rather than to a tagged release containing a fix, so confirm the current state of that item and upgrade Poppler as soon as a release above 26.11.0 that encodes href values is published. Until then, the effective control is to remove the sink: if the generated HTML need not contain hyperlinks, use the text-extraction path instead of a hyperlink-bearing HTML mode, which eliminates the injection point at the cost of losing usable links. If HTML output is required, run pdftohtml only on trusted PDFs, or post-process the output to strip or entity-encode every href attribute value before the file is served (trade-off: legitimate link annotations stop working). Serve generated HTML from an isolated origin with no session cookies or credentials and a restrictive Content-Security-Policy such as script-src 'none', which neutralizes injected event handlers but does not repair the underlying escaping bug and can break any intentional scripting on the viewing host. Consult the VulnCheck advisory at https://www.vulncheck.com/advisories/poppler-pdftohtml-through-26.11.0-xss-via-unescaped-link-annotation-uris for updates alongside the upstream work item.

Affected VersionsENISA

poppler 0 ≤26.11.0

Affected Packages

euvd poppler no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Poppler is the PDF rendering library used by most Linux desktop viewers and by many conversion tools; pdftohtml is its utility for turning PDFs into browsable HTML, and it must translate PDF link annotations into real hyperlinks. In HtmlLink::getLinkStart() (utils/HtmlLinks.cc, lines 114-121 in the 26.11.0 tree), the URI carried in a PDF link annotation's /URI entry is concatenated into the generated href attribute with no HTML entity encoding. This is textbook CWE-79 (improper neutralization of input during web page generation): the PDF is the injection vehicle, the generated HTML is the vulnerable page, and the browser is the execution sink. A /URI value beginning with a double quote terminates the attribute so that arbitrary tags or event handlers follow it. Scope is changed in the assessed vector because the script runs in the origin that serves the generated HTML, not in the PDF tooling itself. The trigger is fully described by the source: no memory corruption, race condition or privilege requirement is involved, and no authentication is needed against the conversion step (PR:N), but passive user interaction is required (UI:P) because a victim has to open the generated HTML. Plain-text extraction and non-HTML output modes that do not render hyperlinks are outside the affected path.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Attacker-supplied PDF is remote and low-complexity, but a victim must open the output (UI:R); the script runs in a different component, the browser (S:C), with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
High
Poppler is widely installed across Linux, but browser-viewed pdftohtml output is a narrower workflow
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy