Skip to main content

Frappe ERPNext CVE-2026-134388

| EUVDEUVD-2026-132527 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-21 VulnCheck GHSA-w4cr-pc79-2qgv
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as Sales User role
  2. Delivery
    Save crafted note on Lead/Opportunity
  3. Exploit
    Payload stored unsanitised
  4. Execution
    Victim opens the record
  5. Persist
    Script runs in victim session
  6. Impact
    Act with victim's permissions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account with the Sales User role in the Frappe ERPNext CRM module, the ability to create or edit a Note on a Lead or Opportunity record, and a second victim user who subsequently opens that same record - the payload only fires on record view (UI:P/UI:R). It is specifically limited to the Notes feature on Leads and Opportunities, which saved content directly and skipped the HTML sanitiser applied to other saves. Limiting factors: it cannot be launched by an unauthenticated attacker, it needs the specific Sales User privilege, and impact depends entirely on another (ideally higher-privileged) user opening the crafted record; impact is confined to that victim's session and permissions. The advisory states no workaround is available and upgrading is required (to 15.124.0 or 16.52.0).

Impact

This is a moderate, authentication-gated stored XSS (CWE-79) that is a real but not emergency priority. The vendor-supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, base 5.1) tells a consistent story: network-reachable and low-complexity, but it requires an existing authenticated account holding the Sales User role (PR:L) AND requires the victim to open the malicious record (UI:P/UI:R), which caps impact to Low on confidentiality and integrity. There is no KEV listing and no EPSS score in the supplied data, so there is no signal of active or probable exploitation; absence of EPSS/KEV is not itself evidence of safety, but combined with the privilege and user-interaction requirements it argues against mass automated exploitation. The GHSA advisory includes a narrative PoC, but the input does not mark it as confirmed working exploit code, so a public PoC reference exists but is not verified as working exploit code. The vuln.today decision label is this_month, consistent with a self-contained, bounded-impact, privilege-and-interaction-gated flaw rather than an act-now threat. Net: patch on a normal priority cycle; the main risk is a malicious or compromised low-privilege sales insider escalating within another user's session.

Exploit ScenarioDerived

An authenticated ERPNext user holding the Sales User role saves a Note on a Lead or Opportunity containing a crafted HTML/script payload, which bypasses the HTML sanitiser and is stored verbatim. When a higher-privileged colleague later opens that Lead or Opportunity record, the payload executes in their browser session and acts with their permissions. A narrative PoC describing exactly this flow is published in the GHSA advisory, though it is not verified as working exploit code in the available data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Stored cross-site scripting in the CRM Notes feature of Frappe ERPNext lets an authenticated user holding the Sales User role persist a crafted payload in a note on a Lead or Opportunity, which then executes in the browser session of any other user who opens that record and acts with that victim's permissions. The flaw affects releases from 14.0.0 up to (but not including) 15.124.0 and 16.x releases before 16.52.0, and exists because notes on these records were saved directly, bypassing the HTML sanitiser that applies to other save paths. There is no confirmed active exploitation or verified working exploit code; the vendor advisory documents the attack scenario (payload author with Sales User rights plus a second user opening the record) rather than weaponised code, and the vendor states that no workaround is available and upgrading is required.

RemediationAI

Vendor-released patch: upgrade to ERPNext 15.124.0 (for the 14.x/15.x line starting at 14.0.0) or 16.52.0 (for 16.x), as documented in GHSA-gj65-6744-3fv4 and the VulnCheck advisory at https://www.vulncheck.com/advisories/frappe-erpnext-14.0.0-before-15.124.0-stored-xss-via-crm-notes. The advisory explicitly states that no workaround is available and that upgrading is required, because the fix works by routing note saves through the document so the existing HTML sanitiser applies - a code-path change that cannot be replicated by configuration. Because the prerequisite is an authenticated account with the Sales User role plus the ability to write notes on Leads and Opportunities, reducing that role's assignment to only users who genuinely need CRM note access lowers exposure, though this is an exposure-reduction measure rather than a vendor-sanctioned workaround and does not remove the vulnerability. Successful exploitation depends on a second user opening the crafted record, so the sanitisation fix should be applied on both branches without delay for internet-facing deployments.

Affected VersionsENISA

ERPNext 16.0.0 <16.52.0
ERPNext 14.0.0 <15.124.0

Affected Packages

euvd erpnext fix: 15.124.0, 16.52.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79 (improper neutralisation of user-supplied input during web page generation), specifically the stored variant: the CRM Notes feature on Lead and Opportunity records wrote its content straight through instead of routing the save through the document layer where the framework's HTML sanitiser is applied to other fields. In the fixed builds the note is saved through the document, so sanitisation is applied consistently. CPE identifiers cpe:2.3:a:frappe:erpnext confirm the affected package as the ERPNext application itself rather than the underlying Frappe Framework. Per the assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), the attacker must be authenticated with the Sales User role and able to create or edit a note on a Lead or Opportunity, and the payload only fires when a different user subsequently views that record - the interaction and scope-change metrics reflect that the script runs in the victim's session and is confined to that victim's permissions. The trigger requires the victim to open the crafted record; nothing in the available sources describes any further mechanism beyond that view-time execution.

Know when Frappe gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated low-privilege Sales User (PR:L) stores a payload that runs only when a victim opens the record (UI:R), crossing into the victim's session (S:C) with limited C/I impact and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 21, 2026 - 18:02 EUVD

DescriptionCVE.org

Frappe ERPNext 14.0.0 before 15.124.0 and 16.x before 16.52.0 contains a stored cross-site scripting vulnerability in the CRM module because notes on Leads and Opportunities are saved without passing through the HTML sanitiser. Authenticated users with the Sales User role can save a note containing a crafted payload that executes in another user's session when they open the record, acting with that user's permissions.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
open-source ERP with real adoption but not infrastructure-ubiquitous deployment
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Frappe

View all
CVE-2025-67289 CRITICAL POC
9.6 Dec 22

Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on

CVE-2018-3885 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3884 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3883 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3882 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2025-66440 HIGH POC
8.8 Dec 15

Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c

CVE-2025-66439 HIGH POC
8.8 Dec 15

SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa

CVE-2025-66437 HIGH POC
8.8 Dec 15

Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A

CVE-2020-6145 HIGH POC
8.8 Aug 10

An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev

CVE-2026-39352 HIGH POC
8.7 May 20

Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie

CVE-2025-10655 HIGH POC
8.6 Dec 09

SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL

CVE-2025-52042 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy