| Título | SourceCodester Daily Calories Monitoring Tool 1.0 Cross Site Scripting |
|---|
| Descripción | The calorie_date, calorie_name parameters are vulnerable to the tested XSS payload: <IMG """"><SCRIPT>alert("XSS")</SCRIPT>"> . The code catches a PDOException and directly echoes the error message using $e->getMessage(). If an attacker can manipulate the database interaction to cause an error that includes malicious script content, that content would be output directly to the user's browser.
|
|---|
| Fuente | ⚠️ https://github.com/jadu101/CVE/blob/main/SourceCodester_Daily_Calories_Monitoring_Tool_add_calorie_XSS.md |
|---|
| Usuario | jadu101 (UID 70632) |
|---|
| Sumisión | 2024-08-23 14:34 (hace 2 años) |
|---|
| Moderación | 2024-08-24 00:28 (10 hours later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 275721 [SourceCodester Daily Calories Monitoring Tool 1.0 add-calorie.php calorie_date/calorie_name secuencias de comandos en sitios cruzados] |
|---|
| Puntos | 20 |
|---|