Juniper Junos Space
CVE-2025-60002
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess Junos Space web console
-
ExploitInject script tag into Template Definitions
-
ExecutionAdministrator opens Template Definitions page
-
ImpactExecute commands with victim's 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 | Exploitation requires the attacker to store a malicious script tag in the Junos Space Template Definitions page, then requires a second user - ideally an administrator - to actively visit that page (UI:A/required) for the payload to execute in their session. Limiting factors: this is a persistent XSS dependent on victim interaction rather than drive-by, it is scoped to the Junos Space management web interface, impact is bounded to the viewing user's permissions and session (no direct appliance compromise), and injecting the payload plausibly requires at least low-privileged access to the Template Definitions feature despite the vendor's PR:N rating. Only versions before 24.1R4 are affected. |
| Impact | This is a stored/persistent cross-site scripting flaw (CWE-79) in the Junos Space Template Definitions page, rated medium severity (vendor CVSS 4.0 base score 5.1). The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) indicates network reachability, low complexity, no stated privileges, but mandatory active user interaction - a victim (potentially an administrator) must navigate to the poisoned page before the payload fires. Impact is confined to the subsequent system (SC:L/SI:L) with no direct impact on the vulnerable system itself (VC:N/VI:N/VA:N), consistent with script execution in the victim's authenticated browser context rather than direct compromise of the appliance. Exploitation signals are LOW: EPSS is 0.22% (12th percentile), the CVE is NOT on CISA KEV, and no public proof-of-concept is referenced. CONFLICT TO VERIFY: the vendor vector lists PR:N, yet injecting content into the Template Definitions page of an internal management console realistically requires an authenticated account with access to that feature - treat PR:N with caution and verify whether any authentication is needed to plant the payload. Overall this is a genuine but lower-priority issue: a medium-severity, interaction-dependent XSS in a specialized management platform, not a mass-exploitation candidate. |
| Exploit ScenarioDerived | An attacker with access to the Junos Space web UI stores a malicious script tag within a Template Definition. When another user - up to and including an administrator - later opens the Template Definitions page, the script executes in their authenticated session and performs actions (commands) with that victim's permissions. No public exploit code is identified at time of analysis, and successful exploitation hinges on a privileged user viewing the crafted 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 (CWE-79) allows an attacker who can place script tags into the Template Definitions page to execute arbitrary commands in the browser session of any user who later visits that page, including an administrator, so the impact is bounded by the victim's own permissions rather than by direct compromise of the appliance itself. All Junos Space releases before 24.1R4 are affected, including 24.1R1, R2 and R3; the vendor rates it 5.1 (CVSS 4.0) and flags that the victim must actively visit the page (UI:A), while our assessment agrees a second user must open the page and notes that injecting the payload plausibly requires at least low-privileged access to the Template Definitions feature despite the vendor's PR:N rating. There is no public exploit identified at time of analysis, the issue is not in CISA KEV, and EPSS is low at 0.22% (12th percentile).
RemediationAI
Upgrade to Junos Space 24.1R4, which is the vendor-released fix for CVE-2025-60002, following the instructions in Juniper advisory JSA103140 (https://supportportal.juniper.net/JSA103140); until that upgrade can be scheduled, restrict access to the Junos Space management web interface to trusted administrative networks via firewall or load-balancer ACLs, which reduces the pool of potential victims but does not remove the underlying injection, and tightly limit which accounts can create or edit entries on the Template Definitions page, since the payload must first be stored there and does nothing until a second user, ideally an admin, opens the page. Because the injected script runs in the victim's authenticated session, treat any account that visited a suspicious template page before patching as potentially compromised: rotate credentials and invalidate sessions, review Template Definitions content for unexpected script markup and delete anything malicious, and monitor web logs for unusual POSTs to the template management endpoint. No vendor workaround beyond upgrading is documented in the supplied references, and no publicly available exploit code is identified at time of analysis, but the low EPSS of 0.22% should not be read as a guarantee of safety given the medium severity score and the administrative value of the target interface.
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
This is a persistent (stored) cross-site scripting issue, class CWE-79, Improper Neutralization of Input During Web Page Generation, in the web management interface of Juniper Networks Junos Space, a centralized network management platform for Junos devices. The affected component is the Template Definitions page, which accepts user-supplied content that is rendered back into other users' browsers without adequate output encoding, so an injected script tag is stored server-side and executes in the origin of the Junos Space management UI whenever a victim loads that page. The vendor's 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, base 5.1) indicates no direct impact to the vulnerable system itself but low confidentiality and integrity impact on subsequent systems, matching a session-hijack style XSS rather than an RCE on the appliance; our independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) adds a changed scope and treats the attacker as needing at least low privileges plus victim interaction, which is why the practical risk hinges on who can author templates and who reviews them. The supplied CPE data identifies juniper:junos_space as the affected product across the pre-24.1R4 range, with explicit entries for 24.1 R1, R2 and R3 and a wildcard entry covering earlier 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 management UI (AV:N/AC:L); PR:L because planting content in the Template Definitions page realistically needs an account; UI:R and S:C are inherent to stored XSS firing in another user's browser context.
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 Definitions 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
GitHub PoC
Exploit-DB