Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted email via public newsletter form
-
DeliveryPayload stored in application database
-
ExploitAdministrator views subscription list
-
ExecutionInjected script executes in admin browser
-
ImpactLow-integrity browser-side action performed
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 | No authentication is required to submit the malicious payload - the newsletter subscription form at /offersmail.php is publicly accessible by design. However, meaningful exploitation requires that a privileged user (such as a site administrator) subsequently view the stored subscriber data, triggering the injected script in their session (CVSS 4.0 UI:P). The application must be running code-projects Online Shopping System 1.0 with the Newsletter Subscription feature active, which appears to be the default configuration. Exploitation is limited by: mandatory privileged-viewer interaction before the payload fires; low impact ceiling (VI:L only, no confirmed confidentiality impact per CVSS VC:N); and the narrow deployment footprint of this educational PHP project. No additional non-default configuration prerequisite is documented. |
| Impact | The CVSS 4.0 score of 2.1 (AV:N/AC:L/AT:N/PR:N/UI:P/E:P) accurately reflects the constrained severity. While no authentication is required to submit a poisoned email value, meaningful exploitation depends on a privileged user - typically an administrator - viewing the stored subscription data, triggering the payload in their browser. The E:P supplemental metric confirms public exploit code exists on GitHub, which modestly elevates practical risk above theoretical, but the absence of a CISA KEV listing and the niche educational footprint of this product keep prioritization low. The impact metrics (VC:N/VI:L/VA:N/SC:N/SI:N/SA:N) confirm only low integrity impact with no confidentiality exposure or availability disruption, inconsistent with a full session-hijacking scenario. Overall this is a real but low-severity finding where public PoC availability is the primary risk accelerant. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a newsletter subscription to /offersmail.php with a crafted email field containing embedded JavaScript, such as a script tag redirecting to an attacker-controlled domain. The payload is persisted to the database. When an administrator subsequently browses the newsletter subscriber list, the script silently executes in the admin browser session. A public proof-of-concept demonstrating this technique is available on GitHub at the reference URL provided. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Stored cross-site scripting in code-projects Online Shopping System 1.0 allows unauthenticated remote attackers to inject malicious scripts via the email parameter of the Newsletter Subscription component at /offersmail.php. When a privileged user such as an administrator views stored subscription data, the injected payload executes in their browser. A public proof-of-concept is confirmed via GitHub; the vulnerability has not been listed in the CISA KEV catalog, and the CVSS 4.0 score of 2.1 reflects the constrained real-world impact due to required user interaction and a low integrity-only impact ceiling.
RemediationAI
No vendor-released patch has been identified at time of analysis; the sole vendor reference points to the code-projects.org homepage without a dedicated advisory or patched release. As an immediate compensating control, developers should apply server-side output encoding to the email parameter in /offersmail.php using PHP's htmlspecialchars() with ENT_QUOTES prior to rendering stored values, and validate that the submitted value conforms to RFC 5322 email format using filter_var($email, FILTER_VALIDATE_EMAIL) before storage. Deploying a Web Application Firewall with XSS pattern rules on the /offersmail.php endpoint can reduce automated exploitation attempts, though WAF rules may produce false positives on atypical but legitimate email addresses and require tuning. Restricting administrative views of subscriber data to trusted internal networks or VPN-gated interfaces reduces the likelihood of the stored payload reaching a privileged session.
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 affected application is code-projects Online Shopping System version 1.0, a PHP-based web application distributed through code-projects.org, which primarily targets student and educational developer audiences. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: the application fails to validate, sanitize, or HTML-encode the email parameter submitted through the newsletter subscription form before persisting and subsequently rendering it. This omission enables an attacker to store arbitrary JavaScript within the application database. No CPE strings were included in the input data. The exploit is consistent with a classic stored XSS pattern in PHP applications lacking output encoding such as htmlspecialchars().
Know when PHP 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
Network-reachable stored XSS requiring no privileges but mandating admin viewer interaction; scope changes as payload executes in a privileged browser context; low C and I only.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was found in code-projects Online Shopping System 1.0. Affected by this vulnerability is an unknown functionality of the file /offersmail.php of the component Newsletter Subscription. The manipulation of the argument email results in cross site scripting. The attack may be performed from remote. The exploit has been made public and could be used.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-68530
GHSA-5pmf-wr6g-hhhw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB