CVE-2026-86294: SourceCodester Simple Traffic Offense System stored XSS in settings

CVE-2026-86294 · Severity: medium · CVSS 4.3 · Published 2026-09-07

Simple Traffic Offense System is a PHP-based application for managing traffic violations. An unauthenticated attacker can modify site configuration settings (such as site name and description) through a settings endpoint that lacks authentication checks, then inject malicious scripts that execute when administrators or users view pages displaying those settings. This could allow attackers to steal session cookies, impersonate users, or deface the application interface.

Technologies: SourceCodester Simple Traffic Offense System. Vendors: SourceCodester.

Quick answers

Is CVE-2026-86294 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-86294 being exploited in the wild.
How severe is CVE-2026-86294?
Medium severity, with a CVSS score of 4.3, published 7 September 2026.
Which products and versions are affected?
SourceCodester Simple Traffic Offense System 1.0.
Is there a fix for CVE-2026-86294?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-86294 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-86294?
Check whether you run SourceCodester Simple Traffic Offense System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability combines missing authentication (CWE-306) and improper output encoding (CWE-79). The save-settings.php endpoint accepts POST requests to modify application-wide settings such as site_name and site_desc without verifying the caller's authentication status or authorization level. An attacker can send a crafted request with an XSS payload (e.g., <svg onload=alert(1)>) directly to this endpoint without a valid session. The malicious payload is stored in the application's configuration and later rendered into HTML in pages such as login.php and sidebar.php without proper output encoding, causing the JavaScript to execute in users' browsers when those pages load. The attack requires network access but no authentication, and affects all versions where the application is deployed.

Affected products

  • SourceCodester Simple Traffic Offense System 1.0

Timeline

  • 2026-07-27: disclosed
  • 2026-09-07: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.