Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-66438

EPSS 0.09% · P26
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-66438

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Description
A Server-Side Template Injection (SSTI) vulnerability exists in the Frappe ERPNext through 15.89.0 Print Format rendering mechanism. Specifically, the API frappe.www.printview.get_html_and_style() triggers the rendering of the html field inside a Print Format document using frappe.render_template(template, doc) via the get_rendered_template() call chain. Although ERPNext wraps Jinja2 in a SandboxedEnvironment, it exposes sensitive functions such as frappe.db.sql through get_safe_globals(). An authenticated attacker with permission to create or modify a Print Format can inject arbitrary Jinja expressions into the html field. Once the malicious Print Format is saved, the attacker can call get_html_and_style() with a target document (e.g., Supplier or Sales Invoice) to trigger the render process. This leads to information disclosure from the database, such as database version, schema details, or sensitive values, depending on the injected payload. Exploitation flow: Create a Print Format with SSTI payload in the html field; call the get_html_and_style() API; triggers frappe.render_template(template, doc) inside get_rendered_template(); leaks database information via frappe.db.sql or other exposed globals.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
ERPNext 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ERPNext是印度ERPNext公司的一套开源的企业资源计划解决方案。 ERPNext 15.89.0及之前版本存在安全漏洞,该漏洞源于Print Format渲染机制存在服务器端模板注入,可能导致数据库信息泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
-n/a n/a -

II. Public POCs for CVE-2025-66438

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-66438

登录查看更多情报信息。

Same Patch Batch · n/a · 2025-12-15 · 33 CVEs total

CVE-2025-557032.5 LOWSunbird Power IQ 安全漏洞
CVE-2025-55893TOTOLINK N200RE 安全漏洞
CVE-2023-38913NEWS-BUZZ 安全漏洞
CVE-2023-36338Inventory Management System 安全漏洞
CVE-2025-55895TOTOLINK A3300R 安全漏洞
CVE-2025-67809Zimbra Collaboration 安全漏洞
CVE-2025-65835PhoneGap / Cordova Social Sharing plugin 安全漏洞
CVE-2025-65176Dynatrace OneAgent 安全漏洞
CVE-2025-65213torch_musa 安全漏洞
CVE-2025-51962microStudio 安全漏洞
CVE-2023-36337Inventory Management System 安全漏洞
CVE-2025-66436ERPNext 安全漏洞
CVE-2025-66440ERPNext 安全漏洞
CVE-2025-66437ERPNext 安全漏洞
CVE-2025-66439ERPNext 安全漏洞
CVE-2025-55901TOTOLINK A3300R 安全漏洞
CVE-2025-65782WeKan 安全漏洞
CVE-2025-65742Newgen OmniDocs 安全漏洞
CVE-2025-66435ERPNext 安全漏洞
CVE-2025-66434ERPNext 安全漏洞

Showing top 20 of 33 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2025-66438

No comments yet


Leave a comment