CVE-2025-62359: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in LabRedesCefetRJ WeGIA
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Prior to 3.5.0, a Reflected Cross-Site Scripting (XSS) vulnerability was identified in the /pet/profile_pet.php?id_pet= endpoint of the WeGIA application. This vulnerability allows attackers to inject malicious scripts in the id_pet parameter. This vulnerability is fixed in 3.5.0.
AI Analysis
Technical Summary
CVE-2025-62359 is a reflected Cross-Site Scripting (XSS) vulnerability classified under CWE-79, discovered in the WeGIA web management application developed by LabRedesCefetRJ. WeGIA is an open-source platform primarily targeting Portuguese language users for institutional web management. The vulnerability affects versions prior to 3.5.0 and is located in the /pet/profile_pet.php endpoint, specifically in the id_pet parameter. Due to improper neutralization of input during web page generation, an attacker can craft a malicious URL containing JavaScript code injected into the id_pet parameter. When a victim accesses this URL, the injected script executes in the context of the victim’s browser, potentially leading to unauthorized actions such as session hijacking, credential theft, or redirection to malicious websites. The CVSS 4.0 vector indicates the attack is network-based (AV:N), requires low attack complexity (AC:L), no privileges (PR:L) or user interaction (UI:N), and impacts confidentiality, integrity, and availability to a limited extent (VC:N, VI:N, VA:N). The vulnerability is considered medium severity with a CVSS score of 5.3. No public exploits have been reported yet, but the vulnerability is publicly disclosed and fixed in version 3.5.0 of WeGIA. The root cause is insufficient input validation and output encoding on the id_pet parameter, which fails to sanitize malicious script payloads. This vulnerability highlights the importance of secure coding practices, especially in web applications handling user-supplied input. Organizations using WeGIA should upgrade to the latest version and review their input handling and output encoding mechanisms to prevent similar issues.
Potential Impact
For European organizations using WeGIA, particularly those in educational or institutional sectors serving Portuguese-speaking users, this vulnerability poses a moderate risk. Successful exploitation could allow attackers to execute arbitrary scripts in users’ browsers, leading to session hijacking, unauthorized actions, or phishing attacks. This can compromise user confidentiality and trust, potentially resulting in data leakage or reputational damage. Although the vulnerability does not directly impact system availability or integrity, the indirect effects of compromised user sessions or defacement can disrupt operations. Given the medium CVSS score and lack of required user interaction, the attack surface is relatively broad, especially if users can be tricked into clicking malicious links. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, as attackers may develop exploits post-disclosure. European organizations with public-facing WeGIA instances should consider the potential for targeted attacks, especially in countries with higher adoption or strategic interest in Portuguese language institutional tools. Failure to patch could expose these organizations to web-based attacks that undermine user security and organizational credibility.
Mitigation Recommendations
The primary mitigation is to upgrade all WeGIA instances to version 3.5.0 or later, where the vulnerability is fixed. Organizations should audit their current deployments to identify affected versions and prioritize patching. Beyond patching, implement strict input validation on all user-supplied parameters, especially those reflected in web pages, to reject or sanitize potentially malicious input. Employ context-aware output encoding (e.g., HTML entity encoding) to neutralize scripts before rendering. Deploy Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of any injected code. Regularly conduct security testing, including automated scanning and manual code reviews, to detect similar injection flaws. Educate users about the risks of clicking suspicious links and encourage cautious behavior. Finally, monitor web server logs and application behavior for unusual requests targeting the vulnerable endpoint to detect potential exploitation attempts early.
Affected Countries
Portugal, Spain, France, Italy, Germany
CVE-2025-62359: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in LabRedesCefetRJ WeGIA
Description
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Prior to 3.5.0, a Reflected Cross-Site Scripting (XSS) vulnerability was identified in the /pet/profile_pet.php?id_pet= endpoint of the WeGIA application. This vulnerability allows attackers to inject malicious scripts in the id_pet parameter. This vulnerability is fixed in 3.5.0.
AI-Powered Analysis
Technical Analysis
CVE-2025-62359 is a reflected Cross-Site Scripting (XSS) vulnerability classified under CWE-79, discovered in the WeGIA web management application developed by LabRedesCefetRJ. WeGIA is an open-source platform primarily targeting Portuguese language users for institutional web management. The vulnerability affects versions prior to 3.5.0 and is located in the /pet/profile_pet.php endpoint, specifically in the id_pet parameter. Due to improper neutralization of input during web page generation, an attacker can craft a malicious URL containing JavaScript code injected into the id_pet parameter. When a victim accesses this URL, the injected script executes in the context of the victim’s browser, potentially leading to unauthorized actions such as session hijacking, credential theft, or redirection to malicious websites. The CVSS 4.0 vector indicates the attack is network-based (AV:N), requires low attack complexity (AC:L), no privileges (PR:L) or user interaction (UI:N), and impacts confidentiality, integrity, and availability to a limited extent (VC:N, VI:N, VA:N). The vulnerability is considered medium severity with a CVSS score of 5.3. No public exploits have been reported yet, but the vulnerability is publicly disclosed and fixed in version 3.5.0 of WeGIA. The root cause is insufficient input validation and output encoding on the id_pet parameter, which fails to sanitize malicious script payloads. This vulnerability highlights the importance of secure coding practices, especially in web applications handling user-supplied input. Organizations using WeGIA should upgrade to the latest version and review their input handling and output encoding mechanisms to prevent similar issues.
Potential Impact
For European organizations using WeGIA, particularly those in educational or institutional sectors serving Portuguese-speaking users, this vulnerability poses a moderate risk. Successful exploitation could allow attackers to execute arbitrary scripts in users’ browsers, leading to session hijacking, unauthorized actions, or phishing attacks. This can compromise user confidentiality and trust, potentially resulting in data leakage or reputational damage. Although the vulnerability does not directly impact system availability or integrity, the indirect effects of compromised user sessions or defacement can disrupt operations. Given the medium CVSS score and lack of required user interaction, the attack surface is relatively broad, especially if users can be tricked into clicking malicious links. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, as attackers may develop exploits post-disclosure. European organizations with public-facing WeGIA instances should consider the potential for targeted attacks, especially in countries with higher adoption or strategic interest in Portuguese language institutional tools. Failure to patch could expose these organizations to web-based attacks that undermine user security and organizational credibility.
Mitigation Recommendations
The primary mitigation is to upgrade all WeGIA instances to version 3.5.0 or later, where the vulnerability is fixed. Organizations should audit their current deployments to identify affected versions and prioritize patching. Beyond patching, implement strict input validation on all user-supplied parameters, especially those reflected in web pages, to reject or sanitize potentially malicious input. Employ context-aware output encoding (e.g., HTML entity encoding) to neutralize scripts before rendering. Deploy Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of any injected code. Regularly conduct security testing, including automated scanning and manual code reviews, to detect similar injection flaws. Educate users about the risks of clicking suspicious links and encourage cautious behavior. Finally, monitor web server logs and application behavior for unusual requests targeting the vulnerable endpoint to detect potential exploitation attempts early.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-10-10T14:22:48.202Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68ed702cefcc33289f46914f
Added to database: 10/13/2025, 9:33:32 PM
Last enriched: 10/21/2025, 12:38:34 AM
Last updated: 12/2/2025, 11:03:54 AM
Views: 59
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
Personal Information of 33.7 Million Stolen From Coupang
MediumCVE-2025-13873: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in ObjectPlanet Opinio
MediumCVE-2025-13872: CWE-918 Server-Side Request Forgery (SSRF) in ObjectPlanet Opinio
LowCVE-2025-13871: CWE-352 Cross-Site Request Forgery (CSRF) in ObjectPlanet Opinio
LowCVE-2025-10971: CWE-922 Insecure Storage of Sensitive Information in FERMAX ELECTRÓNICA S.A.U MeetMe
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.