| 标题 | SourceCodester Drug Recommendation System Using Machine Learning 1.0 (SourceCodester Release 18278) Cross Site Scripting |
|---|
| 描述 | The application outputs user-controlled values directly into HTML **attributes** and **body text** without any output encoding. `add_*.php` pages re-display `$_POST` values into `value="..."` attributes when form validation fails (reflected XSS), while record/session pages output database and `$_SESSION` values unencoded (stored XSS). An attacker can inject script that executes in the context of an authenticated admin, enabling session theft, phishing, and persistence. |
|---|
| 来源 | ⚠️ https://github.com/hackliu/Vulnerability-Reports/blob/master/Drug-Recommender-Web-App/VULN-05-XSS-Reflected-Stored.md |
|---|
| 用户 | BI1IHA (UID 69245) |
|---|
| 提交 | 2026-09-19 11時30分 (1 月前) |
|---|
| 管理 | 2026-10-05 20時23分 (16 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 413698 [SourceCodester Drug Recommendation System 1.0 Admin/add_drug.php 跨网站脚本] |
|---|
| 积分 | 20 |
|---|