CVE-2025-6694
BaseFortify
Publication date: 2025-06-26
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wegia | wegia | 3.4.0 |
Helpful Resources
Exploitability
| 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?
CVE-2025-6694 is a stored Cross-Site Scripting (XSS) vulnerability in LabRedesCefetRJ WeGIA version 3.4.0, specifically in the 'Adicionar Unidade' component. It occurs because the application does not properly validate or neutralize user input in the 'Insira a nova unidade' argument, allowing attackers to inject malicious JavaScript code that is stored and later executed in other users' browsers. This enables attackers to run arbitrary scripts remotely when users interact with the affected interface. [1, 2]
How can this vulnerability impact me? :
This vulnerability can impact you by allowing attackers to execute arbitrary scripts in the browsers of users interacting with the affected application. This can lead to session hijacking, unauthorized redirects, or other client-side attacks compromising user security and application integrity. Since the malicious code is stored, it executes every time the affected page is loaded, increasing the risk of exploitation. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by attempting to inject a test script payload into the 'Insira a nova unidade' input field on the /html/matPat/adicionar_unidade.php page and observing if the script executes when the related product registration page is loaded. Specifically, you can follow these steps: 1) Log into the WeGIA platform; 2) Navigate to Material e PatrimΓ΄nio > Entrada > Registrar Entrada; 3) Click the '+' button under the 'Produto' tab on /html/matPat/cadastro_entrada.php; 4) Click the '+' button under the 'Unidade' tab on /html/matPat/cadastro_produto.php; 5) On /html/matPat/adicionar_unidade.php, inject a payload such as <script>alert('PoC VulDB')</script> into the unit name field and submit; 6) Reload /html/matPat/cadastro_produto.php to see if the alert executes, confirming the vulnerability. Additionally, vulnerable targets can be identified using Google dorking with the query: inurl:html/matPat/adicionar_unidade.php. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
No known countermeasures or mitigations have been published for this vulnerability. It is suggested to consider replacing the affected component with an alternative product. As an immediate step, avoid using the vulnerable input field or restrict access to the affected pages to trusted users only. Monitoring and filtering input to prevent script injection may help, but no official patches or fixes are available. [1]