CVE-2025-53929
BaseFortify
Publication date: 2025-07-16
Last updated on: 2025-07-25
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.5 (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 Stored Cross-Site Scripting (XSS) issue in the WeGIA web manager application, specifically in the 'adicionar_cor.php' endpoint. Attackers can inject malicious scripts into the 'cor' parameter, which are then stored on the server. When users access the affected page 'cadastro_pet.php', these scripts execute automatically, potentially compromising user security. The issue is fixed in version 3.4.5.
How can this vulnerability impact me? :
The vulnerability can lead to attackers executing malicious scripts in the context of users visiting the affected page. This can result in theft of user credentials, session hijacking, defacement, or other malicious actions that compromise user data and trust. It poses a significant security risk to users of the WeGIA application prior to version 3.4.5.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
You can detect this vulnerability by checking if your WeGIA application version is prior to 3.4.5 and by testing the `adicionar_cor.php` endpoint for stored XSS in the `cor` parameter. For example, you can send a request with a script payload in the `cor` parameter and then check if the script executes when accessing the `cadastro_pet.php` page. A simple curl command to test might be: curl -X POST -d "cor=<script>alert(1)</script>" http://yourserver/adicionar_cor.php. Then visit the cadastro_pet.php page to see if the alert triggers, indicating the vulnerability.
What immediate steps should I take to mitigate this vulnerability?
The immediate step to mitigate this vulnerability is to upgrade the WeGIA application to version 3.4.5 or later, where the stored XSS issue in the `adicionar_cor.php` endpoint has been fixed. Additionally, you should avoid using vulnerable versions and consider applying input validation or sanitization on the `cor` parameter to prevent script injection until the upgrade is performed.