Junos Space
CVE-2025-59984
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Junos Space web UI
-
DeliveryInject script via Global Search
-
ExploitAdmin opens poisoned search results
-
ExecutionScript runs in admin session
-
ImpactPerform UI actions as administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an attacker able to submit input through the Junos Space Global Search feature on an instance running any version before 24.1R4, AND a separate authenticated user (the admin whose privileges the attacker wants) must subsequently view the Global Search results containing the payload - this UI:A requirement is the primary limiting factor. No authentication is required to plant the payload (PR:N), but no impact occurs until a victim renders it; impact is confined to the victim's browser session against the Junos Space web UI, not direct host compromise. Patching to 24.1R4 or later removes the condition. |
| Impact | Real-world risk is moderate-to-low despite the admin-compromise angle. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) describes an unauthenticated, network-reachable, low-complexity injection, but exploitation is gated behind UI:A - a legitimate user (ideally an administrator) must navigate to the poisoned Global Search view for the script to fire. Impact is deliberately scoped as subsequent-system low (SC:L/SI:L, SA:N) with no direct vulnerable-system impact (VC:N/VI:N/VA:N), yielding a vendor score of only 5.1; the description's 'execute commands with the target's permissions, including an administrator' reflects session-context script execution in the browser, not native OS command execution. Exploitation signals are weak: EPSS is 0.22% (12th percentile), there is no CISA KEV listing and no public exploit identified at time of analysis, so this is best treated as a routine patch-cycle item rather than an emergency. The main thing elevating it above trivial is that Junos Space is an administrative console - a successful hit against an admin session could enable configuration changes across managed Juniper fabric, so prioritize patching on internet- or multi-user-exposed instances. |
| Exploit ScenarioDerived | An attacker submits a crafted query containing script tags through the Junos Space Global Search feature so the payload is stored/reflected in the search results page. When another authenticated operator - ideally an administrator - subsequently views that Global Search output, the injected JavaScript executes in their browser session and can drive the web UI with their permissions. No public exploit code is known, and success depends on luring or waiting for a higher-privileged user to load the tainted view. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Cross-site scripting in Juniper Networks Junos Space (all versions before 24.1R4) lets an unauthenticated remote attacker inject script tags through the Global Search feature; the payload is dormant until a victim - potentially an administrator - views the affected search results, at which point the script runs with that user's permissions inside the Junos Space web UI. Exploitation is constrained by the required user interaction (UI:A) and impact is confined to the victim's browser session rather than the underlying host, which is why the vendor rates it CVSS 4.0 5.1 and EPSS sits at only 0.22% (12th percentile). No public exploit code has been identified at time of analysis and the issue is not listed in CISA KEV. Juniper has released a fix in 24.1R4, and the primary limiting factor remains that an operator must render the poisoned Global Search output.
RemediationAI
Upgrade Junos Space to 24.1R4 or later, which is the vendor-released fix for this issue; the advisory at https://supportportal.juniper.net/JSA103140 (Juniper Security Advisory JSA103140) documents the upgrade path and any intermediate steps for environments several releases behind. No vendor-documented workaround is provided in the available data, so where an immediate upgrade is not feasible, compensating controls should target both the injection point and the victim-rendering step: restrict network reachability to the Junos Space web UI so that only trusted administrative networks or VPN segments can reach it - accepting that this degrades remote management convenience - and front the UI with a reverse proxy or WAF configured to strip or encode script tags and event handlers in the Global Search request and response path, understanding that signature-based filtering is bypassable and requires ongoing tuning. Browser-side hardening such as a strict Content-Security-Policy that disallows inline script would break the execution even if the payload is stored, though retrofitting CSP to a legacy appliance UI can cause functional regressions and must be validated before rollout. Operationally, treat Global Search results from untrusted or user-influenced sources as hostile until patched, since the final prerequisite for exploitation is an authenticated user rendering the poisoned results page.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-79, Improper Neutralization of Input During Web Page Generation: Junos Space's Global Search constructs result output from user-supplied query content without adequate encoding or context-aware sanitization, so injected markup such as script tags is stored and later rendered as executable HTML in the browser of whoever views the results. Junos Space is Juniper's centralized network management and orchestration platform, meaning its users hold broad control-plane visibility and administrative privileges over managed devices, which raises the value of a session hijack even though the technical impact per the assessed vector is limited. The assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) confirms remote, low-complexity exploitation with no authentication needed to plant the payload (PR:N), a scope change (S:C) reflecting that the script executes in the victim's browser context, and low confidentiality and integrity impact. The CVSS 4.0 vector supplied by the vendor (AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) is consistent with this reading: no vulnerable-system impact, only subsequent-system (browser) effects. The CPE strings identify the affected line as cpe:2.3:a:juniper:junos_space:* plus the 24.1 R1, R2, and R3 maintenance releases.
Know when Junos Space gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Network-reachable injection with low complexity and no auth (PR:N), but a victim must load the poisoned page (UI:R); script runs in the victim's browser across a security boundary (S:C) with limited C/I impact.
Primary rating from Vendor (juniper).
CVSS VectorVendor: juniper
DescriptionCVE.org
An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Juniper Networks Junos Space allows an attacker to inject script tags in Global Search that, when visited by another user, enables the attacker to execute commands with the target's permissions, including an administrator.This issue affects all versions of Junos Space before 24.1R4.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
More in Junos Space
View allAn authentication bypass vulnerability in Juniper Networks Junos Space Network Management Platform may allow a remote un
Unspecified vulnerability in Oracle Java SE 5.0u61, SE 6u71, 7u51, and 8; JRockit R27.8.1 and R28.3.1; and Java SE Embed
Heap-based buffer overflow in the PCNET controller in QEMU allows remote attackers to execute arbitrary code by sending
Unspecified vulnerability in Oracle Java SE 5.0u61, 6u71, 7u51, and 8; JRockit R27.8.1 and R28.3.1; and Java SE Embedded
Unspecified vulnerability in Oracle Java SE 5.0u61, 6u71, 7u51, and 8; JavaFX 2.2.51; and Java SE Embedded 7u51 allows r
Unspecified vulnerability in Oracle Java SE 6u71, 7u51, and 8, and Java SE Embedded 7u51, allows remote attackers to aff
Unspecified vulnerability in Juniper Junos Space before 13.3R1.8, when the firewall in disabled, allows remote attackers
Insufficient authentication vulnerability in Junos Space before 15.2R2 allows remote network based users with access to
A remote unauthenticated network based attacker with access to Junos Space may execute arbitrary code on Junos Space or
Stored cross-site scripting in Juniper Networks Junos Space (all versions before 24.1R4) allows an authenticated attacke
Command injection vulnerability in Junos Space before 15.2R2 allows attackers to execute arbitrary code as a root user.
On Juniper Networks Junos Space versions prior to 16.1R1, due to an insufficient authorization check, readonly users on
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB