CVE-2025-58412 Cross-site scripting in FortiADC

Medium 4.2 Published Updated

An attacker can execute unauthorized code or commands via a crafted URL due to improper neutralization of script-related HTML tags in FortiADC.

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

CVE-2025-58412 is a medium-severity cross-site scripting vulnerability in Fortinet FortiADC, published on 19 Nov 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

A improper neutralization of script-related html tags in a web page (basic xss) vulnerability in Fortinet FortiADC 8.0.0, FortiADC 7.6.0 through 7.6.3, FortiADC 7.4 all versions, FortiADC 7.2 all versions may allow attacker to execute unauthorized code or commands via crafted URL.

Weakness: CWE-80

Which versions are affected by CVE-2025-58412?

It affects 1 product.

Products include Fortinet Fortiadc.

How do I fix CVE-2025-58412?

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

There is no known exploitation of CVE-2025-58412 in the wild and no public exploit code.

Sources

Also known as GHSA-g9vf-m9qr-pwpw.

Is CVE-2025-58412 in your software?

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

Check your SBOMs for free