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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-372"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54406.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "14.59.0"
},
{
"introduced": "15.0.0"
},
{
"fixed": "15.5.0"
}
],
"source": "AFFECTED_FIELD"
}