CVE-2023-54406
JSON

6.9medium

Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts

Severity
6.9medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
frappe frappebefore 14.59.0, from 15.0.0 before 15.5.0
Not affected: 14.59.0, 15.5.0
CVE List

All scores

VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-372

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-54406 changed 2026-10-15CVE Terms of Use
NVDCVE-2023-54406 changed 2026-10-15Public domain