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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-54406— Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts

Quick assessment

Affected
frappe frappe
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Frappe 14.59.0 之前版本以及 15.x 系列中 15.5.0 之前的版本存在一个沙箱漏洞。在服务器脚本(Server Script)执行期间,当其中一个服务器脚本触发另一个服务器脚本时,全局变量 可能被置为 。具有高权限的已认证用户可以构造一个服务器脚本,通过保存文档等方式触发其他服务器脚本的执行,从而导致后续代码在缺少安全执行保护的情况下运行。

CVSS 4.9 · Medium EPSS 0.32% · P23

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 4

VendorProduct Version RangeStatus
frappe frappe < 14.59.0 affected
15.0.0< 15.5.0 affected
14.59.0 unaffected
15.5.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-54406

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
Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts
Source: CVE Program / CVE List V5
Vulnerability Description
Frappe before 14.59.0 and 15.x before 15.5.0 contains a sandbox flaw where the frappe.flags.in_safe_exec global flag can become False during Server Script execution when one server script triggers another. Authenticated high-privileged users can craft a Server Script that triggers other server scripts, such as by saving a document, so the remaining code runs without safe execution protections.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
不完整的内部状态区分
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
frappe frappe 0 ~ 14.59.0 -

II. Public POCs for CVE-2023-54406

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-54406

请登录查看更多情报信息。

Vendor Advisories for CVE-2023-54406 (2)

Same Patch Batch · frappe · 2026-10-12 · 86 CVEs total

CVE-2024-58390 8.8 HIGH Frappe before 15.41.0 Privilege Escalation via Document Action
CVE-2026-109667 8.8 HIGH Frappe ERPNext before 15.111.0 Privilege Escalation via Unauthorized Record Creation
CVE-2026-109608 8.8 HIGH Frappe ERPNext before 15.121.0 SQL Injection via Unvalidated Endpoint Input
CVE-2026-109652 8.8 HIGH Frappe ERPNext before 15.119.1 Server-Side Template Injection via Message Fields
CVE-2025-71432 8.1 HIGH Frappe ERPNext before 15.83.0 Reflected XSS Leading to Account Takeover
CVE-2026-109640 8.1 HIGH Frappe ERPNext before 16.22.0 Missing Authorization Allows Unauthorized Record Modificatio
CVE-2026-109633 8.1 HIGH Frappe ERPNext before 15.119.1 Stored XSS via Public Booking Page
CVE-2026-109653 7.3 HIGH Frappe ERPNext before 15.119.0 Stored XSS Leading to Account Takeover
CVE-2026-109612 7.3 HIGH Frappe ERPNext before 15.120.0 Stored XSS via Report View
CVE-2026-109673 7.3 HIGH Frappe ERPNext before 16.12.0 Stored XSS via Crafted Record Names
CVE-2026-109604 7.3 HIGH ERPNext before 15.112.0 Stored XSS via Tool View Record Names
CVE-2026-109671 7.3 HIGH Frappe ERPNext before 15.113.0 Stored XSS via Profile Field in Portal Pages
CVE-2026-109616 7.1 HIGH Frappe ERPNext before 15.121.3 Missing Authorization Allows Unauthorized Data Modification
CVE-2026-109617 7.1 HIGH Frappe ERPNext before 15.121.0 Missing Authorization in Record Creation Endpoints
CVE-2026-109613 7.1 HIGH Frappe ERPNext before 15.121.0 Missing Authorization Allows Unauthorized Status Modificati
CVE-2026-109628 6.5 MEDIUM Frappe ERPNext before 15.121.0 Unauthorized Status Modification via Missing Authorization
CVE-2026-109624 6.5 MEDIUM Frappe ERPNext before 15.120.0 Missing Authorization Exposes Personal Data
CVE-2026-109631 6.5 MEDIUM Frappe ERPNext before 15.119.1 SQL Injection via Missing Validation
CVE-2026-109661 6.5 MEDIUM Frappe ERPNext before 15.116.0 Missing Authorization Exposes Financial Data
CVE-2026-109659 6.5 MEDIUM Frappe ERPNext before 15.113.0 Missing Authorization Exposes Financial Data

Showing top 20 of 86 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2023-54406

No comments yet


Leave a comment