CVE-2025-53822 WeGIA vulnerable to Reflected Cross-Site Scripting in endpoint 'relatorio_geracao.php' parameter 'tipo_relatorio'

Medium 6.5 Published Updated

Attackers can inject malicious scripts via the tipo_relatorio parameter in WeGIA, potentially leading to session hijacking or code execution.

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

CVE-2025-53822 is a medium-severity cross-site scripting vulnerability in Wegia Wegia, published on 14 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 Reflected Cross-Site Scripting (XSS) vulnerability was identified in the `relatorio_geracao.php` endpoint of the WeGIA application prior to version 3.4.5. This vulnerability allows attackers to inject malicious scripts in the `tipo_relatorio` parameter. Version 3.4.5 has a patch for the issue.

Weakness: CWE-79

Which versions are affected by CVE-2025-53822?

It affects 1 product.

Products include Wegia Wegia.

How do I fix CVE-2025-53822?

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

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

All Wegia Wegia vulnerabilities

Sources

Also known as GHSA-f5xr-4g63-pc9r.

Is CVE-2025-53822 in your software?

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

Check your SBOMs for free