Skip to main content

Junos Space CVE-2025-59989

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-09 sirt@juniper.net
5.1
CVSS 4.0 · Vendor: juniper
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain access to Junos Space UI
  2. Delivery
    Inject script into Device Discovery page
  3. Exploit
    Administrator opens Device Discovery page
  4. Execution
    Script runs in admin session
  5. Impact
    Execute 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 attacker to inject script tags into the Junos Space Device Discovery page and (2) a separate, higher-privileged user - explicitly an administrator - to subsequently visit/render that page (UI:A), at which point the script runs with that victim's permissions. This is NOT default-config unauthenticated RCE: it is an interaction-dependent XSS limited to running in the victim's authenticated management session. Limiting factors that reduce realistic risk: the mandatory victim interaction, the need for the attacker to reach and store content in the Device Discovery workflow (plausibly requiring authenticated access despite the vendor's PR:N), and that the payload only inherits an existing user's privileges rather than granting new host-level access. Affects all Junos Space versions prior to 24.1R4.

Impact

This is a medium-severity stored/reflected cross-site scripting flaw (CVSS 4.0 base 5.1, CWE-79) whose real-world priority is moderate-to-low. The signals are internally consistent and point away from urgent mass-exploitation: EPSS is 0.24% (13th percentile), it is NOT on the CISA KEV list, and no public exploit code is referenced - only the vendor advisory (JSA103140). The CVSS vector (AV:N/AC:L/PR:N/UI:A) shows a network-reachable, low-complexity bug, but exploitation REQUIRES active user interaction (UI:A) - specifically an authenticated operator or administrator must visit the malicious Device Discovery page - and impact is capped at low confidentiality/integrity on a subsequent system (VC:N/VI:N/VA:N, SC:L/SI:L) rather than full code execution on the host. CONFLICTING SIGNAL TO VERIFY: the vendor vector sets PR:N (no privileges), yet injecting script tags into the Device Discovery page of a management platform plausibly requires some authenticated access to the Junos Space UI; this PR:N vs. likely PR:L discrepancy should be confirmed with Juniper. The headline phrase 'execute commands with the target's permissions, including an administrator' describes a session-riding consequence of the XSS, not independent RCE - net real risk is elevated only where an admin can be socially engineered into the vulnerable page.

Exploit ScenarioDerived

An attacker plants malicious script tags that are stored and rendered by the Junos Space Device Discovery page, then lures a higher-privileged user - ideally an administrator - into viewing it. When the admin's browser renders the page, the script executes in their authenticated session and issues management actions with the admin's permissions. No public exploit code is referenced, and exploitation depends on the victim actually visiting the page (UI:A).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Stored cross-site scripting in Juniper Junos Space (all versions before 24.1R4) lets an attacker inject script tags into the Device Discovery page that execute in the browser session of any user who subsequently visits that page - including an administrator - running with the victim's own permissions. The independent assessment scores this as CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (medium severity, CVSS 4.0 base 5.1, CWE-79), reflecting that exploitation is interaction-dependent and not a default-configuration, unauthenticated remote code execution path: the attacker must first store the payload and then a separate, higher-privileged user must render it. No public exploit code or confirmed active exploitation has been identified at time of analysis, and the EPSS score is low at 0.24% (13th percentile), so real-world priority is moderate-to-low.

RemediationAI

Upgrade to Junos Space 24.1R4, the vendor-released patch that addresses CVE-2025-59989, as documented in Juniper's advisory JSA103140 (https://supportportal.juniper.net/JSA103140); 24.1R4 is the first fixed release and the description explicitly limits exposure to versions before 24.1R4. Where immediate upgrade is not possible, apply compensating controls that account for the interaction-dependent nature of the flaw: restrict administrative and user access to the Junos Space management UI (including the Device Discovery workflow) to trusted management networks via firewall rules or reverse-proxy allowlists, understanding that this narrows but does not eliminate exposure for legitimate operators; ensure only trusted, vetted accounts can create or modify discovery-job content, since limiting who can inject into the Device Discovery page removes the attacker's prerequisite of storing a payload; and enforce session hygiene such as short administrative session timeouts and prompt logout so that any injected script has a smaller window in which to execute in a privileged session. Deploying a Content Security Policy that blocks inline and third-party script on the Junos Space front end can neutralize execution but may break legitimate UI functionality and must be tested before enforcement, and monitoring web access logs for anomalous script-bearing requests to Device Discovery endpoints can provide detection in the interim. Juniper advisories are the authoritative source for exact fixed builds and any vendor-supplied workarounds.

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), a classic cross-site scripting flaw in the Junos Space web management interface. Junos Space is Juniper's network management platform used to provision, monitor and orchestrate Juniper network devices; the affected surface is the Device Discovery page, where attacker-controlled input is rendered back into a generated web page without adequate output encoding. Because the injected script is served by the trusted Junos Space origin and rendered inside an authenticated management session, the score reflects a scope change (S:C): the payload escapes its original injection context and executes in the victim's session, inheriting that user's privileges and enabling attacker-supplied commands to be run with the target's rights - including an administrator's. This is a stored (persistent) rather than purely reflected variant given that injected content is placed on the Device Discovery page and later viewed by another user. The CPE data enumerates Junos Space across the affected 24.1 releases (24.1 r1, r2 and r3) plus the wildcard covering all earlier versions; note that the vendor's CVSS 4.0 vector records PR:N (no privileges required), whereas the independent assessment assigns PR:L, indicating that the attacker's ability to reach and persist content in the Device Discovery workflow may itself require authenticated access. That discrepancy is unresolved from the available data.

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

Vendor (juniper) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Network-reachable XSS needing low-priv access to inject (PR:L) and victim interaction (UI:R); payload crosses into another user's session (S:C) with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (juniper).

CVSS VectorVendor: juniper

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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 Discovery 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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
Juniper network-management platform; common in Juniper-centric enterprise/carrier networks
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:juniper:junos_space:*:*:*:*:*:*:*:*
cpe:2.3:a:juniper:junos_space:24.1:r1:*:*:*:*:*:*
cpe:2.3:a:juniper:junos_space:24.1:r2:*:*:*:*:*:*
cpe:2.3:a:juniper:junos_space:24.1:r3:*:*:*:*:*:*
CVE-2017-10622 CRITICAL
9.8 Oct 13

An authentication bypass vulnerability in Juniper Networks Junos Space Network Management Platform may allow a remote un

CVE-2014-0457 CRITICAL
10.0 Apr 16

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

CVE-2015-3209 HIGH
7.5 Jun 15

Heap-based buffer overflow in the PCNET controller in QEMU allows remote attackers to execute arbitrary code by sending

CVE-2014-0429 CRITICAL
10.0 Apr 16

Unspecified vulnerability in Oracle Java SE 5.0u61, 6u71, 7u51, and 8; JRockit R27.8.1 and R28.3.1; and Java SE Embedded

CVE-2014-2421 CRITICAL
10.0 Apr 16

Unspecified vulnerability in Oracle Java SE 5.0u61, 6u71, 7u51, and 8; JavaFX 2.2.51; and Java SE Embedded 7u51 allows r

CVE-2014-0456 CRITICAL
10.0 Apr 16

Unspecified vulnerability in Oracle Java SE 6u71, 7u51, and 8, and Java SE Embedded 7u51, allows remote attackers to aff

CVE-2014-3412 CRITICAL
10.0 May 20

Unspecified vulnerability in Juniper Junos Space before 13.3R1.8, when the firewall in disabled, allows remote attackers

CVE-2016-4926 CRITICAL
9.8 Mar 20

Insufficient authentication vulnerability in Junos Space before 15.2R2 allows remote network based users with access to

CVE-2016-1265 CRITICAL
9.8 Oct 13

A remote unauthenticated network based attacker with access to Junos Space may execute arbitrary code on Junos Space or

CVE-2025-59978 CRITICAL
9.4 Oct 09

Stored cross-site scripting in Juniper Networks Junos Space (all versions before 24.1R4) allows an authenticated attacke

CVE-2016-4929 HIGH
8.8 Mar 20

Command injection vulnerability in Junos Space before 15.2R2 allows attackers to execute arbitrary code as a root user.

CVE-2017-2306 HIGH
8.8 May 30

On Juniper Networks Junos Space versions prior to 16.1R1, due to an insufficient authorization check, readonly users on

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy