SourceCodester E-Learning System Cross-Site Scripting Vulnerability in Lesson Module Handler

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in SourceCodester E-Learning System version 1.0. The issue arises in the Lesson Module Handler, specifically within the file '/admin/modules/lesson/index.php'. The vulnerability allows remote attackers to inject basic HTML into the Title and Description fields of the lesson module. This injected HTML is then executed in the browser, potentially leading to web defacement, content spoofing, and phishing attacks.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where injected HTML is executed in the context of the user's browser.

Reproduction

To reproduce this vulnerability, log into the application as an administrator or instructor. Navigate to the Lesson Module and either add a new lesson or edit an existing one. Inject a HTML payload, such as a marquee tag, into the Title or Description field. Save the lesson and then view it to see the injected HTML executed in the browser.

Added: Jan 19, 2026, 1:20 PM
Updated: Jan 19, 2026, 1:20 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
1.7
exploitability
7.7
remediation
0.0
relevance
2.1
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.