CVE-2024-40074: Sourcecodester Online ID Generator System - Stored XSS
- Cve: CVE-2024-40074
- Name: Sourcecodester Online ID Generator System - Stored XSS
- Description: Sourcecodester Online ID Generator System 1.0 was discovered to contain Stored Cross Site Scripting (XSS) via id_generator/classes/SystemSettings.php?f=update_settings, and the point of vulnerability is in the POST parameter 'short_name'.
- Impact: Attackers can execute malicious scripts in victim's browser, leading to session hijacking, defacement, or redirection.
- Remediation: Implement proper input sanitization and output encoding for 'short_name' parameter, and update to the latest version if available.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to store malicious input in 'short_name' parameter
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00278
- Epss percentile: 0.2044
- Assignee: [email protected]
- Published at: 2025-04-16T17:15:49Z
- Age in days: 587
- Modified at: 2026-06-17T07:45:40Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-40074
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/DiliLearngent/BugReport/blob/main/php/Online-ID-Generator-System/bug1-XSS-short_name.md | nvd | 2025-04-16 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/DiliLearngent/BugReport/blob/main/php/Online-ID-Generator-System/bug1-XSS-short_name.md | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| oretnom23:online_id_generator_system | = 1.0 | no | nvd | /v1/products/oretnom23/online_id_generator_system |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-04-16
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts