CVE-2025-40598 Cross-site scripting in SMA 100 Series

Medium 6.1 Published Updated

Remote unauthenticated attackers can execute arbitrary JavaScript via reflected XSS in the SMA 100 web interface, potentially compromising user sessions.

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

CVE-2025-40598 is a medium-severity cross-site scripting vulnerability in SonicWall SMA 100 Series, published on 23 Jul 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 Reflected cross-site scripting (XSS) vulnerability exists in the SMA100 series web interface, allowing a remote unauthenticated attacker to potentially execute arbitrary JavaScript code.

Weakness: CWE-79

Which versions are affected by CVE-2025-40598?

It affects 3 products.

Products include Sonicwall Sma 210 Firmware, Sonicwall Sma 410 Firmware, Sonicwall Sma 500v Firmware.

How do I fix CVE-2025-40598?

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

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

Sources

Also known as GHSA-x64w-w449-jx7q.

Is CVE-2025-40598 in your software?

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

Check your SBOMs for free