WeGIA, an open-source web manager focused on the Portuguese language and charitable institutions, has a vulnerability classified as a Stored Cross-Site Scripting (XSS). This vulnerability exists in the `adicionar_alergia.php` endpoint, where attackers can inject malicious scripts through the `nome` parameter. The injected scripts are stored on the server and executed every time users access the affected page, which poses a substantial security risk.
The application fails to validate and sanitize user inputs properly, allowing for the injection and storage of malicious scripts. When the affected page is accessed, these scripts can execute in the victim's browser, potentially compromising user data and systems. This issue has been addressed in version 3.2.6, and all users are strongly advised to upgrade. There are no known workarounds for this vulnerability.
The vulnerability has a CVSS score of 6.4, which is classified as medium severity. Organizations should prioritize patching immediately to mitigate potential risks associated with this vulnerability.
Risk to organizations includes the potential for unauthorized access and data compromise due to the stored scripts executing in user browsers. Given the nature of the attack vector, which is network-based, organizations must take proactive measures to protect their applications.
The vulnerability was published on January 14, 2025, and has been analyzed. There are no public exploits currently known, but organizations are still urged to remain vigilant.
Vulnerability Details
The vulnerability in WeGIA is classified as a Stored Cross-Site Scripting (XSS) vulnerability, identified in the `adicionar_alergia.php` endpoint. The CVSS score is 6.4, indicating medium severity, which suggests that while the vulnerability is significant, it may not be immediately exploitable in all scenarios.
The affected component is WeGIA, a web management application. The vulnerability was disclosed on January 14, 2025, with a subsequent patch released in version 3.2.6. The Common Weakness Enumeration (CWE) classification for this vulnerability is CWE-79.
Technical Analysis
The root cause of this vulnerability lies in the inadequate validation and sanitization of user inputs in the `adicionar_alergia.php` endpoint. Attackers can leverage this weakness by injecting malicious scripts through the `nome` parameter, which are then stored on the server.
The attack vector is network-based, meaning that the vulnerability can be exploited remotely without requiring physical access to the affected system. The attack complexity is low, as it does not require any specialized skills or knowledge beyond the ability to make web requests.
No privileges are required to exploit this vulnerability, and user interaction is necessary, as the malicious script executes when the affected page is accessed by the victim. The confidentiality and integrity impacts are both classified as low, while availability impact is none.
Risk & Impact Analysis
The risk of this vulnerability is significant due to its potential to compromise user data and system integrity. Attackers may leverage this vulnerability to execute arbitrary scripts in the context of the victim's browser, leading to session hijacking, data theft, or further exploitation of the user's environment.
Organizations must consider the blast radius of this vulnerability, as it could affect all users who access the compromised page. Given the medium CVSS score, organizations should address this vulnerability in their priority patch cycle.
With an EPS score of 0.00508 and a percentile of 0.66469, this vulnerability represents a lower likelihood of being exploited compared to others, but organizations should not be complacent. Continuous monitoring and proactive security practices are essential.
Exploitation Status
Signal | Status |
|---|---|
Known Exploit | No |
Public PoC | No |
Actively Exploited | No |
Ransomware Use | No |
Affected Versions
The vulnerability affects WeGIA versions prior to 3.2.6. Users are encouraged to upgrade to this version to mitigate the risk associated with the vulnerability.
Mitigation & Remediation
To remediate this vulnerability, organizations should upgrade to WeGIA version 3.2.6 or later. For those unable to upgrade immediately, implementing input validation and sanitization on the `nome` parameter could help mitigate risks until a patch is applied. Additionally, organizations should review their security configurations and ensure proper access controls are in place.
For comprehensive security assessments, organizations should consider application security assessments to identify similar vulnerabilities.
Detection Guidance
Organizations should monitor logs for unusual behavior related to the `adicionar_alergia.php` endpoint, including unexpected input patterns or error messages that may indicate attempted exploitation. Additionally, monitoring for behavioral anomalies in user sessions can help identify potential exploitation.
AppSecure Threat Intelligence Insight
This vulnerability highlights the ongoing risks associated with inadequate input validation in web applications. Organizations should learn from this incident to bolster their security posture against similar vulnerabilities.
By engaging in proactive security measures, organizations can reduce the likelihood of similar vulnerabilities emerging in the future. Regularly scheduled penetration testing and security assessments are essential strategies to identify and remediate vulnerabilities before they can be exploited.
In conclusion, organizations leveraging WeGIA should prioritize immediate upgrades and enhance their security practices to mitigate risks associated with this vulnerability.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

.webp)