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. |
| Impact | While the CVSS 3.1 score of 2.4 is ostensibly low, the full risk picture requires multi-signal analysis. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N) indicates network accessibility (AV:N) and low attack complexity (AC:L), but the high privilege requirement (PR:H) and required user interaction (UI:R) substantially limit the practical attack surface. However, the environmental factors (E:P for published exploit, RL:X for unknown patch status, RC:R for reasonable confidence) elevate concern: public exploit availability increases reconnaissance velocity and lowers barriers to entry for even unsophisticated threat actors. The confined scope (S:U) and integrity-only impact (I:L) mean successful exploitation cannot escalate privileges or cause denial of service, but can modify displayed content, deface records, or inject malware vectors. From an SSVC perspective, this is not high-priority for most organizations given the authentication gate and low technical impact, but administrators of public-facing Exam Form Submission instances should patch promptly to prevent account compromise via social engineering or insider threats. This is a real but low-priority issue for most environments. |
| Exploit ScenarioDerived | An administrative user with legitimate access to the Exam Form Submission system is socially engineered or falls victim to phishing and visits a malicious link injected by an attacker. The attacker has crafted a URL or form submission containing a JavaScript payload in the 'sname' parameter that, when processed by /admin/update_s2.php, is stored in the application database. When the administrator (or another privileged user) later views the exam submissions page, the malicious script executes in their browser with the user's privileges, allowing the attacker to steal their session token, modify exam grades, or create additional administrative accounts. The published GitHub proof-of-concept (https://github.com/yao536/cve/issues/1) provides a readily adaptable payload template, enabling rapid weaponization by threat actors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 23, 2026
A stored cross-site scripting (XSS) vulnerability exists in code-projects Exam Form Submission version 1.0, affecting the /admin/update_s2.php endpoint where the 'sname' parameter is not properly sanitized. An authenticated attacker with high privileges can inject malicious JavaScript that executes in the browser of other users who view the affected page, potentially leading to session hijacking, credential theft, or administrative action manipulation. A public proof-of-concept exploit is available on GitHub, and the vulnerability carries a low CVSS score of 2.4 due to requiring high privileges and user interaction, but the published exploit status indicates active reconnaissance and potential targeted exploitation.
RemediationAI
Upgrade code-projects Exam Form Submission to the latest patched version available from the vendor (https://code-projects.org/). If a patch is not immediately available, implement the following compensating controls: restrict administrative access to /admin/update_s2.php to specific IP ranges or require VPN authentication, enable a Web Application Firewall (WAF) with rules to detect and block XSS payloads in the 'sname' parameter (e.g., filtering script tags and event handlers), and enforce HTTP-only and Secure flags on session cookies to prevent JavaScript-based session theft. Additionally, implement a Content Security Policy (CSP) header to restrict inline script execution and external script sources, reducing XSS impact even if injection succeeds. Review administrative user accounts for unauthorized modifications to exam records and monitor access logs for suspicious activity patterns.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability is rooted in improper input validation and output encoding in a PHP-based web application, classified as CWE-79 (Improper Neutralization of Input During Web Page Generation or Cross-Site Scripting). The affected product, code-projects Exam Form Submission (identified via CPE cpe:2.3:a:code-projects:exam_form_submission:*:*:*:*:*:*:*:*), processes user-supplied input from the 'sname' parameter in the administrative interface (/admin/update_s2.php) without adequate HTML entity encoding or Content Security Policy protections. The PHP framework fails to escape or validate the parameter before reflecting or storing it in the DOM, allowing attackers to break out of HTML attributes or tag context and inject arbitrary script tags or event handlers that execute in victim browsers.
Know when Exam Form Submission 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:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionCVE.org
A flaw has been found in code-projects Exam Form Submission 1.0. This issue affects some unknown processing of the file /admin/update_s2.php. This manipulation of the argument sname causes cross site scripting. The attack can be initiated remotely. The exploit has been published and may be used.
Executive ViewAI
CVE-2026-4575 is a low-severity vulnerability in A flaw involving cross-site scripting (CVSS 2.4). The limited severity suggests constrained impact, typically requiring specific conditions or local access for exploitation. Apply vendor updates when available as part of routine maintenance.
Apply vendor patch during routine maintenance. Standard cross-site scripting mitigations apply if patching is delayed.
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.
Related Vulnerabilities in code-projects Exam Form Submission XSS Flaws
View all 2More in Exam Form Submission
View allUnrestricted file upload in code-projects Exam Form Submission 1.0 allows remote unauthenticated attackers to upload arb
SQL injection in code-projects Exam Form Submission 1.0 exposes the underlying database through the `credits` parameter
SQL injection in code-projects Exam Form Submission 1.0 exposes the backend database to unauthorized read and write oper
SQL injection in code-projects Exam Form Submission 1.0 exposes the `/admin/delete_s3.php` endpoint to remote manipulati
SQL injection in code-projects Exam Form Submission 1.0 exposes the /admin/delete_s2.php endpoint to remote exploitation
SQL injection in code-projects Exam Form Submission 1.0 exposes the /admin/delete_s1.php endpoint to remote database man
SQL injection in code-projects Exam Form Submission 1.0 allows remote unauthenticated attackers to extract or modify dat
SQL injection in code-projects Exam Form Submission 1.0 allows remote attackers to manipulate the 'credits' parameter in
SQL injection in code-projects Exam Form Submission 1.0 via the 'credits' parameter of /admin/update_s3.php enables remo
SQL injection in code-projects Exam Form Submission 1.0 exposes the application's database to remote manipulation throug
SQL injection in code-projects Exam Form Submission 1.0 allows remote attackers to manipulate the backend database via t
SQL injection in code-projects Exam Form Submission 1.0 exposes the unauthenticated /register.php registration endpoint
EUVD-2026-14367
GHSA-cp6c-hh2v-v765
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB