Web Application
CVE-2026-71270 high CVSS 8.6

SSRF (Server-Side Request Forgery) in Stirling-PDF (CVE-2026-71270)

Summary

SSRF in Stirling-PDF (CVE-2026-71270). Confidential information can be exposed externally. Exploitable via POST /api/v1/convert/url/pdf.

Original description

The description as published by the source.

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. ``) 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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

Stirling-PDFのエンドポイントPOST /api/v1/convert/url/pdfにSSRF保護が適用されておらず、攻撃者がサーバー側でクラウドメタデータや内部ネットワークリソースにアクセスできる可能性があります。

❓ What is the problem

Stirling-PDFのPOST /api/v1/convert/url/pdfエンドポイントがSSRF保護を欠いています。

📍 Affected scope

Stirling-PDFのエンドポイント (ConvertWebsiteToPDF.java)

🔥 Severity

攻撃者がクラウドメタデータや内部ネットワークリソースにアクセスし、機密情報を漏洩させる可能性があるため重要です。

🔧 How to fix

CustomHtmlSanitizerとSsrfProtectionServiceでエンドポイントを保護してください。

🛡️ Workaround

影響を受けるエンドポイントを一時的に無効化することで回避可能です。

🔍 Detection

SSRFフィルタリングが適用されていないことをログやコードレビューで確認します。

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details