Skip to main content

Frappe LMS CVE-2025-67730

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-12 security-advisories@github.com
5.1
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged LMS user
  2. Delivery
    Inject JS payload into Job/Course/Batch description
  3. Exploit
    Store unsanitized HTML in database
  4. Execution
    Victim opens affected record
  5. Persist
    Script executes in victim session
  6. Impact
    Steal session/perform actions as victim

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 permission to create or edit a Job, Course, or Batch record (PR:L), and the malicious HTML/JavaScript must be placed specifically in the description fields of those forms (Batch description and batch_details, Course description, Job description) in Frappe LMS versions prior to 2.42.0. The payload only executes when a second user (e.g. an instructor, administrator, or learner) subsequently views the affected record, so successful attack depends on victim interaction (UI:P) and on the attacker already holding valid LMS credentials. Limiting factors: the need for an authenticated foothold, the requirement that a victim open the poisoned content, and that upgrading to 2.42.0 (which applies DOMPurify allowlist sanitization) fully removes the condition.

Impact

This is a stored (persistent) cross-site scripting flaw (CWE-79) in Frappe LMS, rated medium severity (CVSS 5.1, CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P with VC:L/VI:L impacts). The signals are internally consistent and point to a genuine-but-moderate issue rather than a top-priority emergency. The CVSS vector requires an authenticated user (PR:L) to inject the payload and passive victim interaction (UI:P) to trigger it, which caps the real impact at low confidentiality/integrity and no availability impact. EPSS agrees it is low priority: 0.17% probability at the 6th percentile, indicating no mass-exploitation pressure. It is NOT on CISA KEV and no public exploit code is referenced, so exploitation status is 'no public exploit identified at time of analysis.' The source-code diff strongly corroborates the vulnerability class and fix: the patch introduces a DOMPurify-based sanitizeHTML() allowlist applied to Job/Course/Batch description fields (plus assignment questions and profile bios), confirming unsanitized HTML/JS storage before 2.42.0. No signals conflict here - low EPSS, no KEV, and a medium CVSS all align. The main residual risk is privilege escalation or session/account impact against users (often instructors/admins) who view attacker-controlled content.

Exploit ScenarioDerived

An authenticated user with permission to create or edit a Job, Course, or Batch enters a malicious payload (e.g. an <img onerror> or <script>-equivalent) into a description field, which is stored without sanitization. When an administrator, instructor, or another student later views that record in their browser, the script executes in their session context, enabling cookie/token theft, actions on their behalf, or UI manipulation. No public proof-of-concept was identified, and exploitation requires a victim to view the poisoned content (UI:P).

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

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

Alert me

AnalysisAIv1 – Oct 07, 2026

Stored cross-site scripting in Frappe LMS versions prior to 2.42.0 allows authenticated users with permission to create or edit Job, Course, or Batch records to inject malicious HTML and JavaScript into description fields, which then executes in the browser of any user who views the poisoned record. Exploitation requires a valid LMS account and victim interaction (the victim must open the affected record), and the issue is fixed in version 2.42.0. EPSS is low at 0.17% (6th percentile) and no public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade Frappe LMS to version 2.42.0 or later, which applies DOMPurify allowlist sanitization to the affected description fields via the new sanitizeHTML utility (commit 0877e32e1bfe64831b875707241de1c449cda45c). The security advisory GHSA-jjc4-j3hw-33h2 should be consulted for the official guidance. If immediate upgrade is not possible, restrict the ability to create or edit Job, Course, and Batch records to trusted users only, since exploitation requires an authenticated account with those permissions; this reduces the attack surface but may limit legitimate LMS content management. Additionally, review existing Job/Course/Batch descriptions for injected scripts and clear or re-sanitize them, and consider enabling a strict Content Security Policy to limit script execution in the LMS origin, though CSP may break legitimate rich-text features. No other workarounds are documented in the available references.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The flaw is a persistent (stored) cross-site scripting vulnerability (CWE-79) rooted in insufficient output encoding and sanitization of user-supplied rich-text fields in the Frappe LMS single-page application, which is built with Vue.js and uses a DOMPurify-based editor stack. The CPE cpe:2.3:a:frappe:learning:*:*:*:*:*:*:*:* identifies all Frappe LMS releases before 2.42.0 as affected. Before the fix, description fields in the Job, Course, and Batch forms (including batch.description and batch.batch_details) were stored and later rendered without an allowlist filter; the remediation commit 0877e32e1bfe64831b875707241de1c449cda45c introduces a centralized sanitizeHTML utility that runs DOMPurify with an explicit allowlist of tags (b, i, em, strong, a, p, br, ul, ol, li, img) and attributes (href, target, src), and applies it on submit in CourseForm.vue, JobForm.vue, and BatchForm.vue, and also hardens AssignmentForm.vue (question) and EditProfile.vue (bio). This is a classic CWE-79 case where untrusted input is persisted server-side and later interpreted as HTML/JavaScript in another user's session, requiring no server-side code execution but enabling session theft or defacement within the LMS origin.

Know when Learning 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 (github) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated user injects stored payload (PR:L), a victim must view it (UI:R), and script execution in the victim's browser crosses a security scope (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:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

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
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Frappe Learning Management System (LMS) is a learning system that helps users structure their content. Versions prior to 2.42.0 allow authenticated users to add malicious HTML and JavaScript through description fields in the Job, Course and Batch forms. This issue is fixed in version 2.42.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche open-source learning management platform, limited enterprise footprint
Data Quality
4 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.2%
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:frappe:learning:*:*:*:*:*:*:*:*
CVE-2023-5555 MEDIUM POC
6.1 Oct 12

Cross-site Scripting (XSS) - Generic in GitHub repository frappe/lms prior to 5614a6203fb7d438be8e2b1e3030e4528d170ec4.

CVE-2023-42807 CRITICAL
9.8 Sep 21

Frappe LMS is an open source learning management system. Rated critical severity (CVSS 9.8), this vulnerability is remot

CVE-2025-11280 LOW POC
2.9 Oct 05

Information disclosure vulnerability in Frappe LMS 2.35.0 allows remote unauthenticated attackers to access sensitive as

CVE-2025-11283 LOW POC
1.9 Oct 05

Cross-site scripting (XSS) in Frappe LMS 2.35.0 Course Handler allows authenticated users with high privileges to inject

CVE-2025-11282 LOW POC
1.9 Oct 05

Frappe LMS versions 2.34.x and 2.35.0 contain a cross-site scripting (XSS) vulnerability in an incomplete fix for CVE-20

CVE-2026-23497 MEDIUM
5.4 Jan 14

Frappe Learning Management System versions 2.44.0 and earlier contain a stored cross-site scripting (XSS) vulnerability

CVE-2025-11281 LOW POC
1.3 Oct 05

Frappe LMS 2.35.0 contains improper access controls in the Unpublished Course Handler component at the /courses/ endpoin

CVE-2026-26031 MEDIUM
5.3 Feb 11

Frappe Learning Management System versions prior to 2.44.0 contain an information disclosure vulnerability that allows u

CVE-2026-26977 MEDIUM
5.3 Feb 20

Frappe Learning Management System versions 2.44.0 and below allow unauthenticated attackers to retrieve sensitive detail

CVE-2025-67734 MEDIUM
5.1 Dec 12

Stored cross-site scripting in Frappe Learning Management System (LMS) versions prior to 2.42.0 allows an authenticated

CVE-2025-59415 MEDIUM
4.6 Sep 17

Frappe Learning is a learning system that helps users structure their content. Rated medium severity (CVSS 4.6), this vu

CVE-2025-62158 LOW
2.7 Oct 10

Frappe Learning (frappe/lms) versions prior to 2.38.0 stored student-uploaded assignment attachments as public files, so

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