CVE-2024-27781 Cross-site scripting in FortiSandbox

Medium 6.9 Published Updated

An authenticated attacker can execute unauthorized code via crafted HTTP requests in FortiSandbox due to improper input neutralization.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-27781?

CVE-2024-27781 is a medium-severity cross-site scripting vulnerability in Fortinet Fortisandbox, published on 11 Feb 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Fortinet FortiSandbox 4.4.0 through 4.4.4, FortiSandbox 4.2.1 through 4.2.6, FortiSandbox 4.0.0 through 4.0.4, FortiSandbox 3.2 all versions, FortiSandbox 3.1 all versions, FortiSandbox 3.0 all versions allows an authenticated attacker to execute unauthorized code or commands via crafted HTTP requests.

Weakness: CWE-79

Which versions are affected by CVE-2024-27781?

It affects 1 product.

Products include Fortinet Fortisandbox.

How do I fix CVE-2024-27781?

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

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

All Fortinet Fortisandbox vulnerabilities

Sources

Also known as GHSA-cg8r-2vc3-jvc7.

Is CVE-2024-27781 in your software?

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

Check your SBOMs for free