Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated POST to save-settings.php
-
DeliveryInject XSS payload into site_name or site_desc
-
ExploitPayload persisted in application database
-
ExecutionVictim loads page rendering site settings
-
PersistMalicious script executes in victim browser
-
ImpactSession cookie or credentials exfiltrated
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 | The attacker must be able to reach save-settings.php over the network and submit a POST request manipulating the site_name or site_desc parameters. The CVSS PR:N indicates no authentication is required to write to this endpoint - if confirmed, this means the settings endpoint is accessible to unauthenticated users, which is the critical precondition. Exploitation is then limited only by passive victim interaction (UI:P): a second user must load a page where the stored payload is rendered. Limiting factors include: the application's deployment scope (typically localhost or intranet for educational use), the requirement that at least one victim visit the affected page after the write, and the absence of direct server-side code execution (impact is confined to the victim's browser session). |
| Impact | The CVSS 4.0 base score of 5.3 (AV:N/AC:L/AT:N/PR:N/UI:P) reflects moderate severity - network reachable, no complexity, no privilege requirement, but passive victim interaction is needed. The E:P modifier confirms public exploit availability, which meaningfully elevates real-world risk above the base score alone. The stored XSS nature of the vulnerability means a single write to the settings endpoint poisons the page persistently for all subsequent visitors, which is more dangerous than a purely reflected variant. However, actual impact is bounded: the CVSS rates VI:L/VC:N with no subsequent-system impact, consistent with session hijacking and UI defacement rather than direct server compromise. The SourceCodester product ecosystem is predominantly used in academic or hobbyist deployments; even a mid-sized municipal IT team in boleslawiec running this system would be at real risk of credential theft if it is internet-facing, but the niche footprint limits broad campaign targeting. No public KEV listing exists, and EPSS data is not provided, so prioritization should be driven primarily by exposure: any internet-accessible instance with unauthenticated (or weakly authenticated) access to save-settings.php should be treated as immediately at risk given the public PoC. |
| Exploit ScenarioDerived | An attacker with network access to the save-settings.php endpoint submits a POST request with site_name or site_desc set to a JavaScript payload (e.g., an XSS string that exfiltrates session cookies). Because the application stores this value without sanitization, every user who subsequently loads a page rendering the site name or description - such as the application homepage or header - executes the attacker's script in their browser. A public PoC on GitHub demonstrates this technique and lowers the bar for exploitation to script-kiddie level. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
Cross-site scripting in SourceCodester Simple Traffic Offense System 1.0 allows remote attackers to inject arbitrary JavaScript via the site_name and site_desc parameters of the save-settings.php Settings Update Endpoint. The injected payload is stored server-side and executes in the browser of any user who subsequently loads the affected page. A public proof-of-concept exploit has been disclosed on GitHub (issue #3 in tan1540684326-QAQ/cve), confirming the vulnerability is reproducible.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary remediation is to apply HTML output encoding to the site_name and site_desc values wherever they are rendered, using a function such as PHP's htmlspecialchars() with ENT_QUOTES before insertion into HTML context. As a compensating control, restrict access to save-settings.php to authenticated administrators only via .htaccess or framework-level middleware, preventing unauthenticated write to the settings endpoint - this directly addresses the PR:N exposure identified in the CVSS vector. Additionally, deploy a Web Application Firewall rule to block common XSS payloads on the affected parameter names. Because this is an educational/demo application, the most effective control for production environments is to avoid deploying it in an internet-accessible context without thorough code hardening. Reference: VulDB https://vuldb.com/vuln/399456 and the PoC at https://github.com/tan1540684326-QAQ/cve/issues/3.
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
Simple Traffic Offense System is a PHP-based demo web application distributed by SourceCodester, targeting traffic violation record management. The affected component is save-settings.php, which processes site configuration values (site_name and site_desc) without adequate output encoding or input sanitization before persisting and re-rendering them. This is a CWE-79 (Improper Neutralization of Input During Web Page Generation) deficiency - the application trusts user-supplied strings in a settings context and later reflects them unsanitized into HTML output. The CPE cpe:2.3:a:sourcecodester:simple_traffic_offense_system:*:*:*:*:*:*:*:* covers all versions, suggesting no fixed release exists within the tracked CPE range.
Know when Simple Traffic Offense 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:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Network-reachable stored XSS with no auth required (per CVSS PR:N); scope changes to victim browser; UI:R for page visit required.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability has been found in SourceCodester Simple Traffic Offense System 1.0. Affected by this issue is some unknown functionality of the file save-settings.php of the component Settings Update Endpoint. The manipulation of the argument site_name/site_desc leads to cross site scripting. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may 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.
Missing authentication in SourceCodester Simple Traffic Offense System 1.0 allows unauthenticated remote attackers to cr
Unauthenticated remote user deletion is possible in SourceCodester Simple Traffic Offense System 1.0 via the delete-user
EUVD-2026-72342
GHSA-2pm4-fgh6-q7mr
NVD
CVE.org
EPSS
VulDB
Exploit-DB