Frappe LMS CVE-2025-67734
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged job poster
-
DeliveryInject script payload into Company Website field
-
ExploitPublish malicious job posting
-
ExecutionVictim opens job listing
-
PersistXSS executes in victim browser
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
Cross-site Scripting (XSS) - Generic in GitHub repository frappe/lms prior to 5614a6203fb7d438be8e2b1e3030e4528d170ec4.
Frappe LMS is an open source learning management system. Rated critical severity (CVSS 9.8), this vulnerability is remot
Information disclosure vulnerability in Frappe LMS 2.35.0 allows remote unauthenticated attackers to access sensitive as
Cross-site scripting (XSS) in Frappe LMS 2.35.0 Course Handler allows authenticated users with high privileges to inject
Frappe LMS versions 2.34.x and 2.35.0 contain a cross-site scripting (XSS) vulnerability in an incomplete fix for CVE-20
Frappe Learning Management System versions 2.44.0 and earlier contain a stored cross-site scripting (XSS) vulnerability
Frappe LMS 2.35.0 contains improper access controls in the Unpublished Course Handler component at the /courses/ endpoin
Frappe Learning Management System versions prior to 2.44.0 contain an information disclosure vulnerability that allows u
Frappe Learning Management System versions 2.44.0 and below allow unauthenticated attackers to retrieve sensitive detail
Stored cross-site scripting in Frappe LMS versions prior to 2.42.0 allows authenticated users with permission to create
Frappe Learning is a learning system that helps users structure their content. Rated medium severity (CVSS 4.6), this vu
Frappe Learning (frappe/lms) versions prior to 2.38.0 stored student-uploaded assignment attachments as public files, so
NVD
CVE.org
EPSS
GitHub
Exploit-DB