Juniper Junos Space
CVE-2025-59988
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess Junos Space report feature
-
DeliveryInject script tags into Generate Report page
-
ExploitAdmin opens malicious report
-
ExecutionPayload runs in victim session
-
ImpactExecute management 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 | Exploitation requires (1) the ability to inject script into the Junos Space Generate Report page, and (2) a second, higher-privileged user - ideally an administrator - subsequently opening that report (UI:A is mandatory). Limiting factors: the payload only fires when a victim views the crafted report, impact is confined to the privileges of that viewing user, and all Junos Space versions before 24.1R4 are affected (fixed in 24.1R4). Although the vendor marks PR:N, reaching the report-generation function in a network-management console plausibly requires some authenticated session, which further constrains attacker reach. |
| Impact | This is a stored/injected cross-site scripting flaw (CWE-79) in the Generate Report page of Juniper Junos Space, scored by the vendor at CVSS 4.0 5.1 (medium). The vendor 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) models zero direct impact on the vulnerable system itself and only Low confidentiality/integrity impact on the subsequent system (the victim's browser/session) - consistent with XSS where impact lands on whoever views the malicious report. All exploitation signals point to low real-world urgency: EPSS is 0.22% (12th percentile), there is no CISA KEV listing, and no public exploit code is referenced - so this is no public exploit identified at time of analysis. The notable escalation factor is the description's claim that a viewing user, 'including an administrator,' can be made to 'execute commands with the target's permissions,' which elevates this above a trivial pop-up XSS toward session-riding of privileged UI actions. One tension to verify with the vendor: the vendor vector uses PR:N, yet injecting persistent script into a Generate Report page typically presupposes some authenticated access to the management console - so true unauthenticated reachability of the injection point should be confirmed. Net: a genuine but medium-priority issue - patch in normal cycles rather than as an emergency, with priority raised if administrators routinely open user-generated reports. |
| Exploit ScenarioDerived | An attacker with access to the Junos Space web console injects a script payload into the Generate Report page; when another operator - potentially an administrator - opens that report, the script executes in their authenticated session and performs management actions with the victim's privileges. No public exploit code is referenced, and successful execution depends on a privileged user actually viewing the poisoned report (UI:A). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Stored cross-site scripting in the Generate Report page of Juniper Junos Space lets an attacker embed script tags in a generated report so that any user who later opens it - including an administrator - has commands executed under that user's own permissions. Every Junos Space release before 24.1R4 is affected. No public exploit code or confirmed active exploitation has been identified at time of analysis, and EPSS places exploitation probability at roughly 0.22% (12th percentile), consistent with the requirement that a privileged victim interact with the crafted report.
RemediationAI
Vendor-released patch: upgrade to Junos Space 24.1R4 or later, the fix identified in Juniper Security Advisory JSA103140 (https://supportportal.juniper.net/JSA103140). Until the upgrade is applied, restrict access to the Junos Space web interface to trusted management networks or jump hosts using ACL/firewall rules, accepting the trade-off of narrower legitimate administrative access, and disable or tightly limit the Generate Report functionality for all but a small set of trusted operators, since the flaw only triggers when a report containing injected script is generated and then opened by a victim. Because exploitation requires a privileged user to view the crafted report, reducing the number of accounts able to generate reports and instructing administrators to open only reports they themselves requested lowers exposure; a strict Content-Security-Policy provides only partial mitigation because the page is served by a closed-source appliance with limited customization. No vendor workaround beyond upgrading is described in the available data, so monitoring for script payloads in report parameters can serve as an interim detection control.
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 flaw is a CWE-79 improper neutralization of input during web page generation issue: the Generate Report page of Junos Space, Juniper's web-based network management console, fails to correctly encode or sanitize input before reflecting it into generated HTML, so injected script tags persist in the report and execute in the browser context of whoever views it. Both Juniper's CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/SC:L/SI:L/SA:N) and our independent assessment (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) agree on network reachability, low attack complexity and a changed scope, meaning the injected script can act on resources outside the vulnerable component - which is why an administrator opening the report can be leveraged for privileged actions. Success depends on user interaction (UI:A / UI:R): the payload does nothing until the crafted report is opened, and the resulting impact is bounded by the permissions of that viewing user. CPE data (cpe:2.3:a:junior:junos_space wildcard version plus explicit 24.1:r1, 24.1:r2 and 24.1:r3 build entries) confirms the affected surface is the Junos Space application itself rather than a separate component.
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
Stored XSS reachable via an authenticated report feature (PR:L), fired only when another user views it (UI:R), crossing into the victim's session (S:C) with Low C/I and no availability 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 Generate Report page 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