Juniper Junos Space
CVE-2025-59991
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject script into Device Management field
-
ExploitLure/wait for admin to view page
-
ExecutionStored payload executes in victim browser
-
ImpactIssue management commands 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 | Exploitation requires (1) the attacker to inject script tags into the Junos Space Device Management pages - realistically via a device attribute/field rendered in those pages or a managed device the attacker influences, and (2) a second user (operator or administrator) to subsequently visit the affected Device Management page, since the CVSS vector specifies UI:A (active user interaction). Limiting factors: the payload only executes with the victim's privilege level, impact is confined to management-session actions (no direct host confidentiality/integrity/availability impact per VC:N/VI:N/VA:N), the attacker must get a privileged user to open the specific poisoned page, and only Junos Space versions before 24.1R4 are affected. |
| Impact | This is a stored/reflected cross-site scripting flaw (CWE-79) in the Device Management pages of Juniper Junos Space, vendor-rated CVSS 4.0 5.1 (MEDIUM). Multiple signals point to this being a lower-priority issue rather than an urgent threat: EPSS is 0.22% (12th percentile, i.e. low predicted exploitation), it is NOT on the CISA KEV list, and no public exploit code is referenced - so this is 'no public exploit identified at time of analysis.' The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) indicates network reachability and low complexity, but crucially requires active user interaction (UI:A) - a victim, ideally an administrator, must visit the poisoned Device Management page for the payload to fire. The vulnerable-system impact is explicitly none (VC:N/VI:N/VA:N) with only subsequent-system low confidentiality and integrity (SC:L/SI:L), reflecting that damage is bounded by what the victim's browser session can do. CONFLICTING SIGNAL: the vendor sets PR:N (no privileges), yet injecting script into Device Management pages realistically requires either authenticated access to the management console or control over a managed device whose attributes are rendered - verify with vendor whether truly unauthenticated injection is possible. Despite the 'execute commands as an administrator' phrasing, the bounded impact metrics and absence of exploitation evidence make this a patch-in-normal-cycle item, not an emergency. |
| Exploit ScenarioDerived | An attacker with the ability to inject content into a Junos Space Device Management page (e.g., via a crafted device name or attribute, or a managed device under their control) plants a script payload. When a legitimate operator or administrator later opens that Device Management page, the stored script executes in their browser session and issues management actions with that user's privileges. No public exploit code has been identified, and successful exploitation depends on a privileged user actually viewing the affected page. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Stored cross-site scripting in Juniper Networks Junos Space (all versions before 24.1R4) lets an attacker inject script tags into Device Management pages that execute in the browser of any operator or administrator who later opens the poisoned page, running with that victim's privileges and enabling management-session actions such as issuing commands. The vendor rates this CVSS 4.0 5.1 (MEDIUM); EPSS is only 0.22% (12th percentile) and no public exploit code has been identified at time of analysis, with no CISA KEV listing. Exploitation is a two-step, victim-dependent chain: the attacker must first get script content into a device attribute rendered in the Device Management UI, and a privileged user must then actively navigate to that specific page.
RemediationAI
Upgrade to Junos Space 24.1R4 or later: this is the vendor-released patch (fix version 24.1R4) referenced by Juniper advisory JSA103140 (https://supportportal.juniper.net/JSA103140), and it is the only fully effective fix for the missing output encoding in the Device Management pages. Until the upgrade can be scheduled, compensating controls should target the two preconditions of the attack chain: restrict access to the Junos Space management UI to a dedicated administrative VLAN or VPN with allow-listed source IPs, accepting that this limits legitimate remote administration; treat managed-device attribute data as untrusted by preventing untrusted parties from registering or renaming devices and by sanitizing device descriptions and similar free-text fields (a workaround that is operationally invasive and may break inventory automation); deploy a reverse proxy or WAF in front of the UI with XSS/HTML-injection rules and output-sanitization in HTML context - effective but prone to false positives against the Junos Space UI and not a substitute for patching; and reduce the blast radius by enforcing least privilege so operators cannot perform administrator-level actions if a session is hijacked. Instruct administrators to avoid browsing untrusted or externally hosted pages while logged into Junos Space, since the payload only fires when a victim actively loads the poisoned Device Management page. There is no vendor-released authentication-bypass or network-level workaround for the XSS itself.
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, in Juniper Junos Space - a centralized network management platform used to provision, monitor and manage Junos devices. Device Management pages display device-sourced attributes (hostnames, descriptions, platform strings, inventory fields and similar values) without adequate output encoding, so attacker-influenced data is emitted into HTML and interpreted as markup rather than text. Juniper's CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A, with only subsequent-system low confidentiality and integrity impact, SC:L/SI:L/SA:N) indicates a network-reachable, low-complexity flaw requiring active victim interaction, while our independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) considers low privileges more plausible for injecting the malicious content but agrees on scope change and limited impact. The CPE data confirms the affected tree is cpe:2.3:a:juniper:junos_space with the 24.1 release train at R1, R2 and R3 explicitly listed alongside the version-range wildcard, meaning every Junos Space build prior to 24.1R4 is in scope.
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 XSS with low complexity; injecting into Device Management pages realistically needs some authenticated access (PR:L), requires victim interaction (UI:R), and executes in another user's context (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 the Device Management pages that, when visited by another user, enable 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
GitHub PoC
Exploit-DB