Skip to main content

code-projects Voting System CVE-2025-11421

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-10-08 cna@vuldb.com
2.0
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as low-privilege user
  2. Delivery
    Navigate to candidates edit form
  3. Exploit
    Inject script tag in Firstname/Lastname/Platform field
  4. Install
    Submit form
  5. C2
    Script stored in database
  6. Execute
    Administrator views candidate record
  7. Impact
    Malicious script executes in admin's browser

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: (1) Valid authenticated access to the Voting System with low-privilege user role (PR:L in CVSS vector), typically a staff account with permission to edit candidate records. (2) Access to the /admin/candidates_edit.php endpoint (network-accessible, AV:N). (3) User interaction (UI:P in CVSS) - a victim administrator must view the page containing the injected payload for the XSS to execute. (4) No special server configuration is required; default installations are vulnerable. The attack does NOT require exploitation of additional vulnerabilities or complex setup. Mitigation factors: the application must be exposed to multiple users (not single-user); victims must browse to the affected page after payload injection; browser-level XSS protection (if enabled) may partially mitigate execution; and the impact is limited to integrity (script execution), not authentication bypass or code execution on the server.

Impact

Real-world risk is LOW despite published POC. The CVSS 4.0 vector indicates low severity with integrity impact only (VI:L, no confidentiality or availability impact), and the EPSS score of 0.03% (7th percentile) reflects minimal exploitation likelihood in practice. The authentication requirement (PR:L) and user interaction (UI:P) significantly constrain the attack surface compared to an unauthenticated network RCE. The published POC exists but exploitation requires prior access to an authenticated admin account and relies on victim interaction to trigger XSS payload execution. This is a privilege-abuse or insider-threat scenario rather than external compromise vector. Organizations running this legacy system should treat it as low priority relative to network-exploitable vulnerabilities, but should still remediate if the application handles sensitive voting data.

Exploit ScenarioDerived

An authenticated user with admin panel access (e.g., a staff member with candidate management privileges) navigates to /admin/candidates_edit.php and edits a candidate record. In the Firstname field, they inject a payload such as '<img src=x onerror="alert('XSS')">'. When another administrator views the candidate list or candidate details page that displays this field without encoding, the JavaScript executes in their browser, potentially exfiltrating session cookies or performing actions on their behalf. A publicly available POC demonstrates this technique on GitHub.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

Stored cross-site scripting (XSS) in code-projects Voting System 1.0 allows authenticated users with low privileges to inject malicious scripts via the Firstname, Lastname, or Platform parameters in /admin/candidates_edit.php, which execute in the context of other users' browsers when the edited candidate record is viewed. The vulnerability requires user interaction (UI:P) but affects integrity of data displayed to administrators. Exploit code is publicly available on GitHub, though EPSS score of 0.03% indicates limited real-world exploitation despite published POC.

RemediationAI

The primary remediation is to upgrade to a patched version if available from the vendor at code-projects.org; however, no patched version number is confirmed in available data. Immediate compensating controls: (1) Apply HTML entity encoding (htmlspecialchars() with ENT_QUOTES flag in PHP) to all output of the Firstname, Lastname, and Platform fields in both edit forms and candidate display pages to prevent XSS execution. (2) Implement input validation to reject or strip script tags and event handlers from these fields on both client and server side. (3) Restrict access to /admin/candidates_edit.php to only administrative users with verified need, using role-based access control (RBAC), reducing the pool of potential attackers. (4) Enable Content Security Policy (CSP) headers with script-src 'self' to limit inline script execution. These controls address the root cause (improper output encoding) without requiring application restart. Note that input validation alone is insufficient without output encoding, as data may be legitimately stored and later displayed in contexts where encoding is essential.

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

The vulnerability is a reflected or stored XSS flaw (CWE-79) in a PHP-based voting system web application. The affected endpoint /admin/candidates_edit.php fails to properly sanitize or encode user-supplied input in candidate profile fields (Firstname, Lastname, Platform) before storing or displaying them. This allows injection of JavaScript code that executes when administrators or other users view the manipulated candidate records. The attack vector is network-accessible (AV:N) and requires only low-privilege authentication (PR:L), suggesting the application has role-based access control where authenticated users can modify candidate data without proper input validation.

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

Vendor (vuldb) PRIMARY 2.0 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A flaw has been found in code-projects Voting System 1.0. The affected element is an unknown function of the file /admin/candidates_edit.php. This manipulation of the argument Firstname/Lastname/Platform causes cross site scripting. Remote exploitation of the attack is possible. The exploit has been published and may be used.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:fabian:voting_system:1.0:*:*:*:*:*:*:*
CVE-2023-7129 HIGH POC
8.8 Dec 28

A vulnerability, which was classified as critical, was found in code-projects Voting System 1.0. Rated high severity (CV

CVE-2023-7128 HIGH POC
8.8 Dec 28

A vulnerability, which was classified as critical, has been found in code-projects Voting System 1.0. Rated high severit

CVE-2025-8174 LOW POC
2.1 Jul 26

Unrestricted file upload in code-projects Voting System 1.0 allows authenticated remote attackers to upload arbitrary fi

CVE-2025-7581 LOW POC
2.1 Jul 14

SQL injection vulnerability in code-projects Voting System 1.0 allows remote authenticated attackers to manipulate the I

CVE-2025-7580 LOW POC
2.1 Jul 14

SQL injection in Code-projects Voting System 1.0 allows remote authenticated attackers with low privileges to execute ar

CVE-2025-7558 LOW POC
2.1 Jul 14

Authenticated SQL injection in code-projects Voting System 1.0 allows a low-privileged attacker to manipulate the descri

CVE-2025-7557 LOW POC
2.1 Jul 14

SQL injection in code-projects Voting System 1.0 allows authenticated remote attackers to execute arbitrary SQL commands

CVE-2025-7556 LOW POC
2.1 Jul 14

SQL injection in code-projects Voting System 1.0 allows authenticated low-privilege attackers to manipulate the ID param

CVE-2025-7555 LOW POC
2.1 Jul 14

SQL injection in Voting System 1.0 allows remote attackers with low privileges to manipulate database queries via the fi

CVE-2025-11512 LOW POC
2.1 Oct 09

Stored cross-site scripting (XSS) in code-projects Voting System 1.0 allows remote attackers to inject malicious scripts

CVE-2025-11508 LOW POC
2.0 Oct 08

Unrestricted file upload in code-projects Voting System 1.0 allows authenticated high-privilege administrators to upload

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy