CVE-2025-54078
BaseFortify
Publication date: 2025-07-18
Last updated on: 2025-07-30
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wegia | wegia | to 3.4.6 (exc) |
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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Reflected Cross-Site Scripting (XSS) issue in the WeGIA web application, specifically in the 'personalizacao_imagem.php' endpoint's 'err' parameter. It occurs because the application does not properly validate or sanitize user input in this parameter, allowing attackers to inject malicious scripts. When a victim interacts with a crafted link containing such a script, the malicious code is reflected back and executed in their browser, potentially compromising their session or data. [1]
How can this vulnerability impact me? :
This vulnerability can allow attackers to steal user login credentials, perform virtual defacement of the website, execute actions on behalf of the user, and redirect users to malicious or competing sites. It can lead to unauthorized access to sensitive data, impacting user confidentiality without affecting data integrity or availability. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by sending a crafted GET request to the vulnerable endpoint and observing if the injected script is reflected in the response. For example, you can use curl to test the endpoint with a payload like: curl -v "http://<target>/html/personalizacao_imagem.php?msg=error&err=<script>alert(document.cookie)</script>". If the response contains the injected script without proper sanitization, the system is vulnerable. [1]
What immediate steps should I take to mitigate this vulnerability?
The immediate mitigation step is to upgrade the WeGIA application to version 3.4.6 or later, where this vulnerability is fixed. Additionally, avoid using or exposing the vulnerable endpoint with unsanitized input, and consider implementing input validation and output encoding to prevent script injection. [1]