Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-11512: Cross Site Scripting in code-projects Voting System

0
Medium
VulnerabilityCVE-2025-11512cvecve-2025-11512
Published: Wed Oct 08 2025 (10/08/2025, 23:32:06 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: Voting System

Description

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.

AI-Powered Analysis

AILast updated: 10/16/2025, 01:17:24 UTC

Technical Analysis

CVE-2025-11512 is a Cross Site Scripting (XSS) vulnerability identified in version 1.0 of the code-projects Voting System, specifically within the /admin/voters_add.php administrative interface. The vulnerability stems from insufficient input validation and output encoding of user-supplied parameters: Firstname, Lastname, and Platform. An attacker can remotely inject malicious JavaScript code by manipulating these parameters, which is then executed in the context of an administrator or user viewing the affected page. The vulnerability does not require any authentication (AV:N, PR:N) and has low attack complexity (AC:L), but does require user interaction (UI:P) to trigger the malicious script. The impact on confidentiality is none, but there is a low impact on integrity due to potential manipulation of displayed content. Availability is not affected. The vulnerability has a CVSS 4.0 base score of 5.3, categorized as medium severity. No official patches have been released yet, and no known exploits are active in the wild, though exploit code has been publicly disclosed. This vulnerability could be leveraged for session hijacking, phishing, or defacement attacks, undermining trust in the voting system. The administrative nature of the affected page increases the risk if administrators are targeted. The lack of server-side sanitization and absence of Content Security Policy headers likely contribute to the exploitability of this issue.

Potential Impact

For European organizations using the code-projects Voting System 1.0, this XSS vulnerability poses risks primarily to the integrity and trustworthiness of election or polling processes. Attackers could exploit this flaw to execute malicious scripts in the browsers of administrative users, potentially stealing session cookies, performing unauthorized actions, or redirecting users to phishing sites. This could lead to manipulation or disruption of voting data, loss of voter confidence, and reputational damage. While the vulnerability does not directly compromise system availability or confidentiality of stored data, the indirect consequences of compromised administrative sessions could be significant. Given the critical nature of voting systems in democratic processes, even medium severity vulnerabilities warrant prompt attention. The risk is heightened in environments where administrators access the system from less secure networks or devices. Additionally, the public disclosure of exploit code increases the likelihood of opportunistic attacks, especially during election periods or politically sensitive times.

Mitigation Recommendations

To mitigate CVE-2025-11512, organizations should implement the following specific measures: 1) Apply strict input validation on the Firstname, Lastname, and Platform parameters to reject or sanitize any potentially malicious characters or scripts before processing. 2) Employ context-aware output encoding (e.g., HTML entity encoding) when rendering user-supplied data in the web interface to prevent script execution. 3) Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of XSS attacks. 4) Restrict administrative access to trusted networks and enforce multi-factor authentication to reduce the risk of session compromise. 5) Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 6) Engage with the vendor or community to obtain and apply patches or updates as soon as they become available. 7) Conduct security awareness training for administrators to recognize phishing and suspicious activity. 8) Consider deploying web application firewalls (WAFs) with rules targeting XSS payloads specific to this vulnerability. These targeted mitigations go beyond generic advice by focusing on the affected parameters and administrative context.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-10-08T15:08:56.928Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68e6f7045269778ce9b0c3d4

Added to database: 10/8/2025, 11:43:00 PM

Last enriched: 10/16/2025, 1:17:24 AM

Last updated: 11/23/2025, 10:23:05 AM

Views: 47

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats