CVE-2025-22617 WeGIA Cross-Site Scripting (XSS) Reflected endpoint 'editar_socio.php' parameter 'socio'

Medium 6.4 Published Updated

Attackers can inject malicious scripts via the socio parameter in editar_socio.php, leading to script execution in victim browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-22617?

CVE-2025-22617 is a medium-severity cross-site scripting vulnerability in Wegia Wegia, published on 13 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. A Reflected Cross-Site Scripting (XSS) vulnerability was identified in the `editar_socio.php` endpoint of the WeGIA application. This vulnerability allows attackers to inject malicious scripts in the `socio` parameter. The application fails to validate and sanitize user inputs in the `socio` parameter. This lack of validation permits the injection of malicious payloads, which are reflected back to the user's browser in the server's response and executed within the context of the victim's browser. This issue has been addressed in version 3.2.7 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2025-22617?

It affects 1 product.

Products include Wegia Wegia.

How do I fix CVE-2025-22617?

No fix has been published for CVE-2025-22617 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-22617 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-22617 exists.

All Wegia Wegia vulnerabilities

Sources

Also known as GHSA-8cp5-vr69-h8xx.

Is CVE-2025-22617 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free