Intel

AIKIDO-2026-320655

fpdf2 is vulnerable to Server-Side Request Forgery (SSRF)

Server-Side Request Forgery (SSRF)GHSA-rw7v-4hrq-x6r9 Published Aug 11, 2026

58

Medium Risk

This Affects:

PYTHONfpdf2
0.0.1 - 2.8.7
Fixed in 2.8.8
Are you affected? Scan for Free

TL;DR

fpdf2 uses a shared internal image loader that dereferences resource references embedded in rendered content. When an application renders untrusted HTML, SVG, template data, or image path strings, the loader fetches http and https URLs over the network and opens local filesystem paths without restriction. This lets untrusted input trigger requests to internal or external network services and limited local file open attempts. The fix adds a configurable resource access policy so applications can restrict or block implicit network and local resource loading.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted HTML, SVG, template data, or image path strings into FPDF.image(), write_html(), or template rendering.

Background info

fpdf2 is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.0.1 - 2.8.7.

How to fix this

Upgrade the fpdf2 library to the patch version.