Junos Space
CVE-2025-59983
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Junos Space UI
-
DeliveryInject script into Template Definition page
-
ExploitAdmin victim opens the page
-
ExecutionPayload runs in admin session
-
ImpactExecute commands with admin permissions
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 | The attacker must be able to write input into the Junos Space 'Template Definition' page (realistically requiring an authenticated session on the management platform, despite the vendor's PR:N rating), and a second user - ideally an administrator - must subsequently visit that page (UI:A/UI required), at which point the stored script executes with that victim's permissions. Limiting factors that reduce real-world risk: exploitation depends on victim interaction (an admin opening the crafted page), the target must be running a vulnerable release (any version before 24.1R4), and Junos Space is an internal network-management appliance not typically exposed to anonymous internet users. No impact occurs without a victim viewing the injected content. |
| Impact | This is a moderate-severity stored cross-site scripting (XSS) issue (CWE-79) rated CVSS 4.0 5.1 by Juniper SIRT. The signals are internally consistent and point to a real-but-not-urgent priority. The vendor vector (AV:N/AC:L/AT:N/PR:N/UI:A) describes a network-reachable, low-complexity flaw requiring victim interaction, with no impact to the vulnerable system itself (VC:N/VI:N/VA:N) but a scope change to the victim's session (SC:L/SI:L) - characteristic of XSS executing in another user's browser. The real danger is privilege context: the description states the injected script can execute commands with the victim's permissions, including an administrator, effectively enabling account/privilege takeover if an admin views the poisoned Template Definition page. The exploitation-likelihood signals are low: EPSS is 0.27% (18th percentile), there is no CISA KEV listing, and no public exploit code was identified. CONFLICT/CAVEAT TO VERIFY: the vendor assigns PR:N, but injecting content into the Template Definition page of an authenticated management platform realistically requires a logged-in (low-privilege) account - treat PR:N with skepticism and verify whether the injection point is reachable pre-authentication. There is no SSVC decision data in the input. Net: a legitimate issue worth patching, but not a drop-everything emergency absent evidence of active exploitation. |
| Exploit ScenarioDerived | A low-privileged authenticated Junos Space user injects a malicious script tag into the Template Definition page. When an administrator later views that page, the script runs in the admin's authenticated session and performs management actions with the admin's permissions. No public proof-of-concept exploit was identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Stored cross-site scripting (XSS) in Juniper Networks Junos Space (all versions before 24.1R4) allows an attacker who can inject content into the Template Definition page to execute arbitrary script in the context of any user who later views that page, including administrators. Realistically, the injection point requires an authenticated session on the management platform, and exploitation also depends on a victim (ideally an admin) visiting the crafted page, so it is a moderate-severity issue (CWE-79; rated CVSS 4.0 5.1 by Juniper SIRT, independent assessment CVSS 3.1 with PR:L/UI:R). No public exploit code has been identified, and EPSS is low (0.27%, 18th percentile).
RemediationAI
Vendor-released patch: upgrade to Junos Space 24.1R4 or later, which is the first fixed release; the upgrade should be applied through the official Juniper support portal and the advisory JSA103140 (https://supportportal.juniper.net/JSA103140) should be followed for any necessary steps. No official workaround is provided by the vendor, but as a compensating control, restrict network access to the Junos Space management interface to trusted administrative subnets only, recognizing that this reduces the attack surface but does not fix the underlying XSS and may hinder legitimate administrative access. Additionally, administrators should exercise caution when viewing Template Definition pages from untrusted sources, and consider disabling or restricting template-creation privileges for non-administrative users if the platform supports such role separation. Note that no public exploit code is known, and patching remains the definitive mitigation.
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 vulnerability is a stored (persistent) cross-site scripting (XSS) flaw classified as CWE-79: Improper Neutralization of Input During Web Page Generation. Junos Space is a network management platform that provides a web-based interface for managing Juniper devices. The specific attack surface is the Template Definition page, where user-supplied input is not properly sanitized before being rendered back to other users. An attacker who can write to that page can inject script tags; when another user - particularly an administrator - visits the page, the script executes in the victim's browser with that user's session privileges. The CVSS 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) indicates network attack, low complexity, no attack requirements, and active user interaction required, with subsequent system scope change and low confidentiality/integrity impact. The independent assessment adjusts the privilege requirement to PR:L (authenticated) and UI:R, reflecting that the injection point is not realistically anonymous, and notes that Junos Space is typically deployed on internal networks, reducing exposure. CPE data confirms the affected product line as cpe:2.3:a:juniper:junos_space, covering all versions before 24.1R4.
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 in an authenticated management UI (PR:L), requiring a victim to view the page (UI:R), with a scope change into the victim's browser session (S:C) and limited confidentiality/integrity 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 Template Definition page, 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
GitHub PoC
Exploit-DB