CVE-2025-66434

INFO Priority: 0.00 BB Relevance: 0/100
Published: 2025-12-15 Modified: 2026-11-03 First seen: 2026-11-03 Status: pending_score

Description

An SSTI (Server-Side Template Injection) vulnerability exists in the get_dunning_letter_text method of Frappe ERPNext through 15.89.0. The function renders attacker-controlled Jinja2 templates (body_text) using frappe.render_template() with a user-supplied context (doc). Although Frappe uses a custom SandboxedEnvironment, several dangerous globals such as frappe.db.sql are still available in the execution context via get_safe_globals(). An authenticated attacker with access to configure Dunning Type and its child table Dunning Letter Text can inject arbitrary Jinja expressions, resulting in server-side code execution within a restricted but still unsafe context. This can leak database information.

Affected Software (1)

VendorProductVersion
n/a n/a n/a

Bug Bounty Relevance

0 / 100

CVSS Score

Unscored

EPSS — Exploitation Probability

0.59%
Raw Score 0.005900
Percentile 48.8%
Date 2026-11-14

EPSS Trend

2026-11-14
0.00590
2026-11-13
0.00590
2026-11-12
0.00590
2026-11-10
0.00590
2026-11-09
0.00590
2026-11-08
0.00590
2026-11-07
0.00590
2026-11-06
0.00590
2026-11-05
0.00590
2026-11-04
0.00590
2026-11-03
0.00590

Intelligence Sources

mitre ref →