CVE-2025-53931 WeGIA vulnerable to Stored Cross-Site Scripting via endpoint `adicionar_raca.php` parameter `raca`

Medium 6.4 Published Updated

Attackers can inject malicious scripts via the 'raca' parameter in WeGIA, leading to stored XSS and potential session hijacking.

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-53931?

CVE-2025-53931 is a medium-severity cross-site scripting vulnerability in Wegia Wegia, published on 16 Jul 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 Stored Cross-Site Scripting (XSS) vulnerability was identified in the `adicionar_raca.php` endpoint of the WeGIA application prior to version 3.4.5. This vulnerability allows attackers to inject malicious scripts into the `raca` parameter. The injected scripts are stored on the server and executed automatically whenever the affected page is accessed by users, posing a significant security risk. Version 3.4.5 fixes the issue.

Weakness: CWE-79

Which versions are affected by CVE-2025-53931?

It affects 1 product.

Products include Wegia Wegia.

How do I fix CVE-2025-53931?

No fix has been published for CVE-2025-53931 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-53931 being exploited?

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

All Wegia Wegia vulnerabilities

Sources

Also known as GHSA-9mfp-wfmj-cg3j.

Is CVE-2025-53931 in your software?

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

Check your SBOMs for free