Skip to content
Heist/ feed
Medium

Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2023-54406

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2023-54406

frappe

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "frappe",
    "product": "frappe",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "14.59.0",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "15.0.0",
        "lessThan": "15.5.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "14.59.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "15.5.0",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2023-54406

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#28776 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement