| 标题 | SourceCodester Online Quiz System 1.0 Cross Site Scripting |
|---|
| 描述 | A Stored Cross-Site Scripting (XSS) vulnerability was discovered in SourceCodester Online Quiz System 1.0. The issue occurs in the Add Question functionality located in endpoint/add-question.php.
The application fails to properly sanitize user-supplied input provided through the HTTP POST parameters quiz_question, option_a, option_b, option_c, and option_d. By injecting malicious JavaScript payloads into these parameters, an attacker can store arbitrary scripts within the application's database.
When the stored data is later displayed in quiz.php or take-quiz.php, the injected script is rendered without proper output encoding and executed automatically in the browser of users viewing the affected content.
This vulnerability allows attackers to perform Stored Cross-Site Scripting attacks that may lead to session hijacking, credential theft, phishing attacks, or manipulation of quiz content.
The attack can be initiated remotely by an authenticated user with permission to submit quiz questions. Public proof-of-concept and exploitation details have been disclosed. |
|---|
| 来源 | ⚠️ https://gist.github.com/Mohdanass/5992b65cca5612c036f1d31d8d8f0646 |
|---|
| 用户 | Anas22335 (UID 96357) |
|---|
| 提交 | 2026-03-11 22時08分 (7 月前) |
|---|
| 管理 | 2026-03-27 09時55分 (15 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 353860 [SourceCodester Online Quiz System 直到 1.0 add-question.php quiz_question 跨网站脚本] |
|---|
| 积分 | 20 |
|---|