CVE-2025-53526
BaseFortify
Publication date: 2025-07-07
Last updated on: 2025-07-10
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.3 (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?
CVE-2025-53526 is a Stored Cross-Site Scripting (XSS) vulnerability in the WeGIA web manager, specifically in the novo_memorando.php file used for creating memos. An attacker can inject malicious JavaScript code into a memo, which is then stored persistently in the application's database. When any user later visits the page that lists old memos (listar_memorandos_antigos.php), the injected script executes automatically in their browser, potentially causing harmful effects such as session hijacking or data theft. [1]
How can this vulnerability impact me? :
This vulnerability can impact you by allowing attackers to execute arbitrary JavaScript in your browser when you view affected memo pages. This can lead to session hijacking, theft of sensitive data, or further exploitation of your system. Although the initial impact on confidentiality and integrity is low, the subsequent impact can be high, affecting confidentiality, integrity, and availability of your system or data. [1]
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, such as `<script>alert('XSS')</script>`, into the memo text field in novo_memorando.php and then accessing listar_memorandos_antigos.php to see if the script executes in the browser. For network detection, monitoring HTTP requests to novo_memorando.php for suspicious script tags or payloads can help identify attempts. Commands to detect this might include using curl or wget to submit payloads and then fetching the listing page to check for script execution. Example commands: 1) Submit payload: `curl -X POST -d "memo=<script>alert('XSS')</script>" https://yourserver/html/memorando/novo_memorando.php` 2) Retrieve and inspect listing page: `curl https://yourserver/html/memorando/listar_memorandos_antigos.php | grep '<script>alert('XSS')</script>'` [1]
What immediate steps should I take to mitigate this vulnerability?
The immediate mitigation step is to upgrade the WeGIA web manager to version 3.4.3 or later, where this stored XSS vulnerability in novo_memorando.php is fixed. Additionally, avoid using or exposing the vulnerable versions (up to 3.4.2) and consider applying input validation or output encoding as temporary measures to prevent script injection and execution. [1]