CVE-2025-27418 WeGIA contains a Stored Cross-Site Scripting (XSS) in 'adicionar_tipo_atendido.php' via the 'tipo' parameter

Medium 6.4 Published Updated

Attackers can inject malicious scripts via the 'tipo' parameter in WeGIA, leading to stored XSS and potential 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-27418?

CVE-2025-27418 is a medium-severity cross-site scripting vulnerability in Wegia Wegia, published on 3 Mar 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 for Institutions with a focus on Portuguese language users. A Stored Cross-Site Scripting (XSS) vulnerability was identified in the adicionar_tipo_atendido.php endpoint of the WeGIA application. This vulnerability allows attackers to inject malicious scripts into the tipo 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. This vulnerability is fixed in 3.2.16.

Weakness: CWE-79

Which versions are affected by CVE-2025-27418?

It affects 1 product.

Products include Wegia Wegia.

How do I fix CVE-2025-27418?

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

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

All Wegia Wegia vulnerabilities

Sources

Also known as GHSA-ffcg-qr75-98mg.

Is CVE-2025-27418 in your software?

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

Check your SBOMs for free