code-projects Voting System CVE-2025-11512
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious URL with XSS payload
-
DeliverySocial engineer admin to click link
-
ExploitBrowser renders injected script
-
ExecutionExecute arbitrary JavaScript in admin context
-
ImpactSteal credentials or perform unauthorized actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the admin user click a malicious link or visit a page containing the payload (user interaction), but does not require prior authentication or special configuration - the vulnerable endpoint accepts GET or POST parameters without authentication checks based on the file path. The XSS payload must be injected into one of three specific parameters (Firstname, Lastname, or Platform) in the /admin/voters_add.php endpoint. Exploitation is limited to attacks against administrators or users with access to the admin interface. |
| Impact | The CVSS score of 2.1 is low due to the UI requirement (user must click a link or visit a page containing the payload), and the impact is limited to integrity (VI:L) with no confidentiality or availability impact in the base score. However, the EPSS score of 0.03% (10th percentile) indicates minimal real-world exploitation probability despite public POC availability, suggesting this vulnerability is unlikely to be targeted at scale. The combination of low CVSS, minimal EPSS, and UI requirement makes this a lower-priority risk, though any organization running this specific voting system version should still remediate to prevent targeted attacks by motivated threat actors. The existence of public exploit code creates a clear pathway for exploitation, but the lack of active KEV listing and low EPSS suggest limited practical weaponization so far. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL containing JavaScript payload in the Firstname parameter (e.g., /admin/voters_add.php?Firstname=<script>alert('XSS')</script>). When an admin user visits this URL or is tricked into clicking a link, the payload executes in their browser context, allowing the attacker to steal admin session tokens or perform unauthorized voter registrations or modifications. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Stored cross-site scripting (XSS) in code-projects Voting System 1.0 allows remote attackers to inject malicious scripts via the Firstname, Lastname, or Platform parameters in /admin/voters_add.php, requiring user interaction to trigger payload execution. The vulnerability has a low CVSS score (2.1) due to UI requirement, but publicly available exploit code exists and the attack requires no authentication or special configuration.
RemediationAI
Upgrade to a patched version of code-projects Voting System if available from the vendor; consult code-projects.org or the GitHub repository for the latest release. If no patched version is available, implement input validation and output encoding by using PHP htmlspecialchars() or htmlentities() functions on all user inputs (Firstname, Lastname, Platform) before rendering them in HTML context, and implement Content Security Policy (CSP) headers to block inline script execution. Additionally, restrict administrative access to /admin/voters_add.php to trusted IP ranges and require strong authentication to minimize the attack surface, though these do not address the root cause.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a reflected or stored XSS vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) in a PHP-based voting application. The vulnerable endpoint /admin/voters_add.php fails to properly sanitize or encode user-supplied input in the Firstname, Lastname, and Platform parameters before rendering them in HTML output. Attackers can inject JavaScript payloads that execute in victims' browsers when the page is viewed, potentially stealing session cookies, admin credentials, or performing unauthorized actions within the application context.
Know when Voting System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was found in code-projects Voting System 1.0. Affected by this issue is some unknown functionality of the file /admin/voters_add.php. The manipulation of the argument Firstname/Lastname/Platform results in cross site scripting. The attack can be executed remotely. The exploit has been made public and could be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
More in Voting System
View allA vulnerability, which was classified as critical, was found in code-projects Voting System 1.0. Rated high severity (CV
A vulnerability, which was classified as critical, has been found in code-projects Voting System 1.0. Rated high severit
Unrestricted file upload in code-projects Voting System 1.0 allows authenticated remote attackers to upload arbitrary fi
SQL injection vulnerability in code-projects Voting System 1.0 allows remote authenticated attackers to manipulate the I
SQL injection in Code-projects Voting System 1.0 allows remote authenticated attackers with low privileges to execute ar
Authenticated SQL injection in code-projects Voting System 1.0 allows a low-privileged attacker to manipulate the descri
SQL injection in code-projects Voting System 1.0 allows authenticated remote attackers to execute arbitrary SQL commands
SQL injection in code-projects Voting System 1.0 allows authenticated low-privilege attackers to manipulate the ID param
SQL injection in Voting System 1.0 allows remote attackers with low privileges to manipulate database queries via the fi
Unrestricted file upload in code-projects Voting System 1.0 allows authenticated high-privilege administrators to upload
Stored cross-site scripting (XSS) in code-projects Voting System 1.0 allows authenticated users with low privileges to i
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB