CVE-2022-23438 Cross-site scripting in Fortinet FortiOS

Medium 4.7 Published Updated

An unauthenticated remote attacker can execute reflected cross-site scripting attacks on the captive portal authentication page in FortiOS.

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-2022-23438?

CVE-2022-23438 is a medium-severity cross-site scripting vulnerability in Fortinet Fortios, published on 18 Jul 2022. 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

An improper neutralization of input during web page generation ('Cross-site Scripting') [CWE-79] vulnerability in FortiOS version 7.0.5 and prior and 6.4.9 and prior may allow an unauthenticated remote attacker to perform a reflected cross site scripting (XSS) attack in the captive portal authentication replacement page.

Weakness: CWE-79

Which versions are affected by CVE-2022-23438?

It affects 1 product.

Products include Fortinet Fortios.

How do I fix CVE-2022-23438?

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

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

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-j64m-j3jq-cvj5.

Is CVE-2022-23438 in your software?

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

Check your SBOMs for free