Skip to content
XSS Advisory Intermediate CVE-2025-54353

Fortinet FortiSandbox hcproxy Cross-Site Scripting Remote Code Execution Vulnerability

The FortiSandbox hcproxy component fails to validate user-supplied data in HA cluster paths, allowing script injection. An attacker could execute arbitrary code with minimal user interaction.

Jason McFadyen Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Fortinet FortiSandbox. Minimal user interaction is required to exploit this vulnerability.

Jason McFadyen of Trend Research, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely missing input validation and output encoding of user-supplied data in HA cluster path handling.

Impact

An attacker could execute arbitrary code on affected installations, with minimal user interaction required.

What the attacker needed

Minimal user interaction

The fix

Fortinet issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a cross-site scripting (XSS) flaw: a web page takes input from a user and puts it into the page without cleaning it, so an attacker can make the page run their own script. Because the affected component is part of a security appliance, the attacker may be able to turn that script into running code on the device itself.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Jason McFadyen

View all

9 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.