CVE-2025-59974 Junos Space Security Director: Persistent Cross-Site Scripting (XSS) vulnerability

Critical 9.3 Published Updated

Attackers can inject persistent malicious scripts into Junos Space Security Director, executing them in other users' browsers to potentially hijack sessions or execute code.

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

What is CVE-2025-59974?

CVE-2025-59974 is a critical cross-site scripting vulnerability in Juniper Networks Junos Space Security Director, published on 9 Oct 2025. An attacker needs administrator access to exploit it, 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 Junos Space Security Director allows an attacker to inject malicious scripts into the application, which are then stored and executed in the context of other users' browsers when they access affected pages.This issue affects Juniper Security Director: 

* All versions before 24.1R4.

Weakness: CWE-79

Which versions are affected by CVE-2025-59974?

It affects 1 product.

Products include Juniper Space Security Director.

How do I fix CVE-2025-59974?

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

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

Sources

Also known as GHSA-c74m-j3p4-8gjx.

Is CVE-2025-59974 in your software?

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

Check your SBOMs for free