Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71270: CWE-918 in Stirling-Tools Stirling-PDF

0
High
Published: 08/05/2026 (08/05/2026, 15:32:19 UTC)
Source: CVE Database V5
Vendor/Project: Stirling-Tools
Product: Stirling-PDF

Description

Stirling-PDF's POST /api/v1/convert/url/pdf endpoint (ConvertWebsiteToPDF.java) was not updated with the CustomHtmlSanitizer/SsrfProtectionService SSRF protections that were added to three sibling conversion endpoints (html/pdf, file/pdf, markdown/pdf). The endpoint validates only that the initial requested URL resolves to a public IP, then fetches the page's HTML server-side and hands it, unsanitized, to a WeasyPrint subprocess. Embedded resource references in the fetched HTML (e.g. `<img src="http://169.254.169.254/...">`) are fetched by WeasyPrint with no per-resource SSRF filtering, allowing an attacker-controlled page to cause the server to retrieve cloud metadata endpoints or internal network resources and leak their contents back into the generated PDF.

CVSS v3.1

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 13:31:43 UTC

Technical Analysis

The vulnerability exists because the /api/v1/convert/url/pdf endpoint in Stirling-PDF does not implement the CustomHtmlSanitizer or SsrfProtectionService protections that other similar endpoints have. While it validates that the initial URL resolves to a public IP, it does not apply SSRF filtering to embedded resource references within the fetched HTML. Consequently, WeasyPrint fetches these embedded resources without restriction, enabling an attacker to craft malicious HTML that causes the server to access internal network resources or cloud metadata endpoints and include their content in the PDF output. This is classified as CWE-918 (Server-Side Request Forgery).

Potential Impact

An attacker can exploit this vulnerability to induce the server to make unauthorized requests to internal or cloud metadata services, potentially leaking sensitive information such as cloud instance metadata. The CVSS score of 8.6 (High) reflects the network attack vector, low complexity, no privileges required, no user interaction, and a confidentiality impact of high. There is no impact on integrity or availability reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using the vulnerable /api/v1/convert/url/pdf endpoint or restrict its access. Monitor vendor communications for updates on official patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T12:23:34.967Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7336e4bf8831d539ed9145

Added to database: 08/05/2026, 13:13:08 UTC

Last enriched: 08/05/2026, 13:31:43 UTC

Last updated: 08/06/2026, 00:00:14 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses