CVE-2026-6034
Received Received - Intake
Cross-Site Scripting in Vehicle Showroom ProfitAndLossReport.php

Publication date: 2026-04-10

Last updated on: 2026-04-29

Assigner: VulDB

Description
A flaw has been found in code-projects Vehicle Showroom Management System 1.0. Impacted is an unknown function of the file /BranchManagement/ProfitAndLossReport.php. Executing a manipulation of the argument BRANCH_ID can lead to cross site scripting. The attack may be launched remotely. The exploit has been published and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-10
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-04-10
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
code-projects vehicle_showroom_management_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The CVE-2026-6034 vulnerability is a Cross-Site Scripting (XSS) issue found in version 1.0 of the Vehicle Showroom Management System, specifically in the file /ProfitAndLossReport.php.

The root cause is the improper handling of the BRANCH_ID parameter, which is directly output to the web page without adequate encoding or filtering.

This allows attackers to inject malicious JavaScript code that executes in the victim's browser.


How can this vulnerability impact me? :

This vulnerability enables attackers to perform unauthorized actions such as stealing cookies, session tokens, or other sensitive information.

Attackers can also deface web pages, redirect users to malicious sites, and potentially gain control over the victim's browser.

Notably, exploitation does not require user login or authorization, making it easier for attackers to exploit remotely.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

The CVE-2026-6034 vulnerability is a Cross-Site Scripting (XSS) issue caused by improper handling of the BRANCH_ID parameter in the file ProfitAndLossReport.php. To detect this vulnerability, you can test by injecting a proof-of-concept payload such as <script>prompt(/xss/);</script> into the BRANCH_ID parameter and then accessing the vulnerable page to see if the script executes.

A practical detection method involves sending HTTP requests with the malicious payload in the BRANCH_ID parameter and observing the response for script execution or reflected input.

  • Use curl to send a test request: curl -v "http://target/BranchManagement/ProfitAndLossReport.php?BRANCH_ID=<script>prompt(/xss/);</script>"
  • Use a web proxy tool like Burp Suite or OWASP ZAP to intercept and modify requests to inject the payload and observe the response.
  • Check the web page source or browser console for the execution of the injected script or unexpected JavaScript alerts.

What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps for CVE-2026-6034 include:

  • Implement proper output encoding of user inputs based on the context (HTML, JavaScript, CSS, URL) to prevent execution of injected code.
  • Enforce strict input validation and filtering to accept only expected input formats and reject or sanitize potentially malicious content such as script tags or event handlers.
  • Deploy a strict Content Security Policy (CSP) to restrict allowable script sources and block unauthorized inline or external scripts.
  • Set HttpOnly and Secure flags on sensitive cookies to prevent access via JavaScript and ensure transmission only over HTTPS.
  • Conduct regular security audits and code reviews to detect and fix XSS and other vulnerabilities promptly.

How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The CVE-2026-6034 vulnerability is a Cross-Site Scripting (XSS) issue that allows attackers to execute malicious scripts in users' browsers, potentially leading to unauthorized access to sensitive information such as cookies and session tokens.

Such unauthorized access and potential data exposure can negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive data against unauthorized access and breaches.

Failure to remediate this vulnerability could result in violations of these regulations due to inadequate protection of user data, leading to legal and financial consequences.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart