CVE-2025-59978 Junos Space: Stored cross-site scripting vulnerability in web application
Attackers can inject scripts into Junos Space web pages to execute commands with administrative privileges when viewed by other users.
- 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-2025-59978?
CVE-2025-59978 is a critical cross-site scripting vulnerability in Juniper Junos Space, published on 9 Oct 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 Juniper Networks Junos Space allows an attacker to store script tags directly in web pages that, when viewed by another user, enable the attacker to execute commands with the target's administrative permissions. This issue affects all versions of Junos Space before 24.1R4.
Weakness: CWE-79
Which versions are affected by CVE-2025-59978?
It affects 1 product.
Products include Juniper Junos Space.
How do I fix CVE-2025-59978?
No fix has been published for CVE-2025-59978 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-59978 being exploited?
There is no known exploitation of CVE-2025-59978 in the wild and no public exploit code.
Other vulnerabilities in Juniper Junos Space
Sources
Also known as GHSA-2hw3-rfjc-q8m6.