ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.121.0 and 16.34.0, certain endpoints for status modification fail to enforce proper authorization checks. A low-privileged authenticated user can invoke state-changing whitelisted methods without required write, submit, cancel, document, or role checks. This allows the user to modify data beyond the user's permitted role. This issue is fixed in versions 15.121.0 and 16.34.0.
https://github.com/frappe/erpnext/security/advisories/GHSA-5wpj-6rvp-9ff7
https://github.com/frappe/erpnext/releases/tag/v16.34.0
https://github.com/frappe/erpnext/releases/tag/v15.121.0
https://github.com/frappe/erpnext/commit/a20fc4f9317ecc7d262625aea680c9a0cda98cef
https://github.com/frappe/erpnext/commit/86e94803629ea5668c2fc2d18afb5ca59fe2cf03
https://github.com/frappe/erpnext/commit/547d82da563380a0644919173e00d0205f986d89