CVE-2026-42872 WeGIA: Reflected XSS in listar_arquivos_etapa.php

Medium 6.1 Published Updated

Attackers can inject arbitrary JavaScript via the id_processo parameter in WeGIA, leading to session hijacking or credential theft.

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-2026-42872?

CVE-2026-42872 is a medium-severity cross-site scripting vulnerability in LabRedesCefetRJ WeGIA, published on 11 May 2026. 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 a web manager for charitable institutions. In versions prior to 3.7.0, a reflected Cross-Site Scripting (XSS) vulnerability exists in lista_arquivos_etapa.php due to improper handling of user-supplied input. The id_processo parameter is directly embedded into the HTML without sanitization, allowing attackers to inject arbitrary JavaScript. This can lead to session hijacking, credential theft, or execution of malicious actions in the context of the victim's browser. This vulnerability is fixed in 3.7.0.

Weakness: CWE-79

Which versions are affected by CVE-2026-42872?

How do I fix CVE-2026-42872?

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

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

Sources

Also known as GHSA-gp6v-f6q5-wq62.

Is CVE-2026-42872 in your software?

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

Check your SBOMs for free