Skip to main content

Frappe LMS CVE-2025-67734

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 job poster
  2. Delivery
    Inject script payload into Company Website field
  3. Exploit
    Publish malicious job posting
  4. Execution
    Victim opens job listing
  5. Persist
    XSS executes in victim browser
  6. Impact
    Hijack session or exfiltrate data

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 Frappe LMS account with permission to create or edit a Job Opportunity record, because the payload is injected via the 'Company Website' field of the Job Form (confirmed by the patched file lms/job/doctype/job_opportunity/job_opportunity.py). The pre-patch validate_url call accepted scheme prefixes loosely, allowing a non-http(s)/script-bearing value to be stored. The stored script only fires when a second user opens the malicious job posting (passive user interaction, UI:P), so a victim must view the attacker-controlled listing. Limiting factors: it is not remote-unauthenticated (attacker needs posting privileges), it depends on victim interaction, and impact is confined to the victim's browser session (low confidentiality/integrity, no availability impact). The same loose URL validation also touched LMS assignment submissions and the contact-us URL in LMS settings, so related fields may share the weakness.

Impact

This is a moderate-severity stored XSS (CWE-79) whose real-world priority is LOW-to-MODERATE, and the available signals are consistent rather than conflicting. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N) scores only 5.1: network-reachable and low-complexity, but it requires at least low-level authentication (PR:L) AND passive victim interaction (UI:P), with only low confidentiality and integrity impact and no availability impact. EPSS strongly corroborates low urgency at 0.17% (6th percentile), meaning exploitation is statistically unlikely in the near term. The vulnerability is NOT on the CISA KEV list and there is no public exploit identified at time of analysis, so there is no evidence of active exploitation. SSVC-style reasoning: exploitation status is 'none', the flaw is not automatable (it needs an authenticated attacker to seed content and a victim to open a specific job posting), and technical impact is partial. The two weak amplifiers - network attack vector and the fact that a patch exists (so the diff reveals the weakness) - do not outweigh the authentication and user-interaction requirements. Bottom line: a legitimate bug worth patching on a normal cycle, but not an emergency; it is a medium-CVSS, low-real-risk issue absent any exploitation signal.

Exploit ScenarioDerived

An attacker with a low-privileged authenticated account (able to create or edit a job posting) submits a Job Opportunity whose 'Company Website' field contains a javascript:/script payload that bypasses the weak URL validation. When another user - such as a job seeker or admin reviewing listings - opens the malicious posting, the script runs in their browser session. No public exploit code is known, but the attack is low-complexity for anyone who can post jobs.

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 Learning Management System (LMS) versions prior to 2.42.0 allows an authenticated user who can create or edit a Job Opportunity to inject JavaScript through the 'Company Website' field of a job posting, which then executes in the browser of any user who opens that listing. The weakness is a URL-scheme validation bypass (CWE-79) that lets a script-bearing value be persisted where an http/https link is expected, and per the CVSS 4.0 vector (PR:L/UI:P) the attacker must hold posting privileges and the victim must view the posting - impact is confined to the victim's browser session with low confidentiality and integrity loss. Vendor patch 2.42.0 is available, no public exploit code has been identified at time of analysis, and EPSS is 0.17% (6th percentile), making real-world priority LOW-to-MODERATE.

RemediationAI

Upgrade Frappe LMS to version 2.42.0 or later, which contains the vendor-released fix; the authoritative references are the GitHub security advisory at https://github.com/frappe/lms/security/advisories/GHSA-c495-qg4v-5vr7 and the fixing commit at https://github.com/frappe/lms/commit/ca849da81558066d7614b9b6234004ff59c90632. Because exploitation is gated on holding Job Opportunity create/edit rights, tighten Frappe role permissions so that only trusted staff can author or modify job postings, and audit existing Job Opportunity records (plus URL-type assignment submissions and the LMS Settings contact_us_url value) for stored script payloads and clean them out - this is a compensating control only and does not replace the upgrade. Additional hardening options with trade-offs include sanitizing or re-encoding the Company Website value at render time via the LMS custom app layer, and applying a strict Content-Security-Policy that blocks inline script on job posting pages; the CSP trade-off is that legitimate inline scripts or third-party embeds on those pages may break and require allowlisting, while output-encoding workarounds must be re-applied after every upstream upgrade unless contributed back.

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

Frappe LMS is a Python/JavaScript learning platform built on the Frappe framework, which models content as 'doctypes' with server-side Python controllers and server-rendered web forms. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation, stored variant): the Job Opportunity doctype's validate() method called validate_url on the Company Website field with the allowed-scheme list ["http://", "https://"], a check loose enough that a crafted value could be persisted rather than rejected, and that value was subsequently emitted into the job posting page without adequate output encoding. The upstream fix (commit ca849da81558066d7614b9b6234004ff59c90632) changes the allowed scheme arguments to ["http", "https"] in job_opportunity.py, and applies the same corrective change to two other call sites - lms_assignment_submission.py (URL-type assignment answers) and lms_settings.py (the contact_us_url setting) - indicating the same loose URL validation pattern was reused across the LMS codebase and that those input surfaces may share the underlying weakness. The official CPE for the affected package is cpe:2.3:a:frappe:learning:*:*:*:*:*:*:*:*.

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 poster needed (PR:L) and victim must open the posting (UI:R); stored XSS executes in the victim's browser context yielding a scope change (S:C) with limited confidentiality/integrity impact.

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 allowed authenticated attackers to enter JavaScript through the Company Website field of the Job Form, exposing users to an XSS attack. The script could then be executed in the browsers of users who opened the malicious job posting. 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 app, 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-67730 MEDIUM
5.1 Dec 12

Stored cross-site scripting in Frappe LMS versions prior to 2.42.0 allows authenticated users with permission to create

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