TROYANOSYVIRUS
Back to CVEs

CVE-2026-31017

CRITICAL
9.1

Description

A Server-Side Request Forgery (SSRF) vulnerability exists in the Print Format functionality of ERPNext v16.0.1 and Frappe Framework v16.1.1, where user-supplied HTML is insufficiently sanitized before being rendered into PDF. When generating PDFs from user-controlled HTML content, the application allows the inclusion of HTML elements such as <iframe> that reference external resources. The PDF rendering engine automatically fetches these resources on the server side. An attacker can abuse this behavior to force the server to make arbitrary HTTP requests to internal services, including cloud metadata endpoints, potentially leading to sensitive information disclosure.

CVE Details

CVSS v3.1 Score9.1
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published4/8/2026
Last Modified4/14/2026
Sourcenvd
Honeypot Sightings0

Affected Products

frappe:erpnextfrappe:frappe

Weaknesses (CWE)

CWE-918

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.