Advisories

Frappe ERPNext before 15.119.1 Server-Side Template Injection via Message Fields

Go Back
severity
high
date
Affecting
  • erpnext >= 0, < 15.119.1

  • erpnext >= 16.0.0-beta.1, < 16.32.0

CWE
  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
CVSS
8.7
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
diptanilsaha, mtholmquist, vnth4nhnt, bugbunny-research, lukasz-rybak
Description
Frappe ERPNext before 15.119.1 and 16.x before 16.32.0 contains a server-side template injection vulnerability because user-controlled message fields are not validated before template rendering, allowing expressions to run in an unrestricted context. Authenticated attackers holding a common operational role can inject template expressions to read and write arbitrary database data, delete documents, send outbound requests from the server, and send mail from the site.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.