Skip to main content

Juniper Junos Space CVE-2025-59978

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

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged Junos Space user
  2. Delivery
    Store script payload in web-rendered field
  3. Exploit
    Administrator views poisoned page
  4. Execution
    Script runs in admin session
  5. Impact
    Execute commands with administrative 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 hold a valid low-privileged authenticated account on Junos Space (CVSS PR:L) with the ability to submit input into a field that is persistently stored and rendered back in another user's web page. The payload only triggers when a higher-privileged victim - an administrator - subsequently views the affected page in their browser (CVSS UI:P), meaning no impact occurs without that victim interaction. All versions of Junos Space prior to 24.1R4 are affected, so the limiting factors are: valid authentication, an interface that stores and reflects attacker input, and a privileged user viewing the content; there is no indication a non-default configuration is required.

Impact

This is a genuinely high-priority flaw with mitigating factors worth weighing. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P, score 9.4) describes a network-reachable, low-complexity stored XSS requiring only low attacker privileges (PR:L) but passive victim interaction (UI:P) - the victim must view the poisoned page. The VC:H/VI:H/VA:H plus subsequent-system SC:H/SI:H/SA:H impact ratings reflect that the injected script executes with the viewing user's administrative permissions on Junos Space, a network-management platform, so successful exploitation can cascade to managed infrastructure. Countering that severity, EPSS is only 0.53% (43rd percentile), the CVE is NOT on CISA KEV, and no public exploit was provided - so there is no evidence of active or widespread exploitation. The high CVSS is driven by the administrative impact and network vector, not by observed attack activity; this is a real patch priority for Junos Space operators but currently reflects potential rather than demonstrated risk. Note the authenticated prerequisite (PR:L) and required victim interaction (UI:P) meaningfully narrow the realistic attacker population versus an unauthenticated worm-class bug.

Exploit ScenarioDerived

A low-privileged authenticated Junos Space user injects a malicious <script> payload into a stored field that is later rendered in another user's browser. When an administrator subsequently views that page, the script executes in the admin's authenticated session and issues commands with full administrative permissions. No public proof-of-concept exploit was provided in the available data.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.5% 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 Networks Junos Space (all versions before 24.1R4) allows an authenticated attacker holding a low-privileged account to persist script content into a web page that, when later viewed by an administrator, executes in that administrator's browser session with the administrator's own permissions. Exploitation is constrained: the attacker must be able to submit input into a field that is stored and re-rendered, and impact only occurs after a privileged victim views the affected page, so no compromise happens without that interaction. There is no public exploit identified at time of analysis and the flaw is not listed in CISA KEV; EPSS is 0.53% (43rd percentile), indicating a low likelihood of near-term exploitation, while the vendor's CVSS 4.0 base score of 9.4 reflects the potentially complete loss of confidentiality, integrity and availability of the management platform once an admin session is hijacked.

RemediationAI

The primary fix is to upgrade Junos Space to 24.1R4 or later, the version in which the vendor states this issue is resolved (applicable to all builds prior to 24.1R4, including 24.1R1, 24.1R2 and 24.1R3); follow the vendor advisory JSA103140 at https://supportportal.juniper.net/JSA103140 for the exact upgrade path and any release-notes caveats. If the upgrade cannot be performed immediately, the assessment indicates the vulnerability requires no special configuration, so mitigations must be layered rather than switch-based: restrict network reachability of the Junos Space web UI to trusted administrator subnets or a VPN jump host via firewall rules, accepting that this slows legitimate administrative access from other locations; deploy a WAF or reverse-proxy filter with XSS signatures in front of the UI to strip script payloads from submitted fields, accepting possible false positives against legitimate free-text content; audit and reduce the set of accounts that can write into the affected interfaces so fewer users can plant persistent payloads; and monitor application and web server logs for anomalous stored markup. Because the payload fires in an administrator's session, consider forcing re-authentication of administrative sessions after the patch and reviewing recent UI-submitted content for injected script. No vendor-published workaround beyond upgrading is documented in the supplied data, and these controls reduce but do not eliminate the risk that a privileged user views already-persisted malicious content.

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, manifesting as a persistent (stored) XSS in the Junos Space web interface. Junos Space is a Juniper network management platform used to discover, configure and monitor managed devices, so its web UI runs in the context of highly privileged operator and administrator sessions that carry session cookies, CSRF tokens and access to device-provisioning APIs; script that executes there inherits those privileges rather than running in a low-privileged context. The vendor's CVSS 4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H confirms the input is reachable over the network with low attack complexity and no additional attack requirements, that a low-privileged authenticated account (PR:L) is needed to plant the payload, and that the victim's UI participation is passive (UI:P) - the target merely views the poisoned page. The changed-scope, all-high impact metrics (S:C with C/I/A high on both the vulnerable and subsequent systems) capture the pivot from the attacker's low-privileged foothold to full administrative control of the management plane. CPE data identifies the affected builds precisely as junos_space through the wildcard (all versions) plus the explicit 24.1 R1, 24.1 R2 and 24.1 R3 releases, consistent with the vendor statement that every version prior to 24.1R4 is affected and that no non-default configuration is required.

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 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/R:U/RE:M
vuln.today AI 9.0 CRITICAL

Authenticated attacker (PR:L) stores script that runs in a victim admin's browser requiring their interaction (UI:R) and crossing into their session authority (S:C), yielding full C/I/A impact.

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

Primary rating from Vendor (juniper).

CVSS VectorVendor: juniper

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

DescriptionCVE.org

An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Juniper Networks Junos Space allows an attacker to store script tags directly in web pages that, when viewed by another user, enable the attacker to execute commands with the target's administrative permissions. This issue affects all versions of Junos Space before 24.1R4.

Executive ViewAI

Why It Matters

Organizations using Juniper Networks Junos Space to manage their network infrastructure are exposed to a critical stored cross-site scripting vulnerability in all versions before 24.1R4. If exploited, an attacker with a low-privileged account could hijack an administrator's session and gain full control of the management platform, potentially disrupting network operations and compromising sensitive data. No public exploit identified at time of analysis, but the potential for complete platform compromise makes this a high priority for leadership.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting access to the Junos Space management interface, enforcing least privilege and multi-factor authentication, monitoring administrative sessions for anomalous activity, and deploying web application firewall rules to block script injection.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Medium
enterprise Juniper network-management platform, common but vendor-specific footprint
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +47
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-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

CVE-2017-2305 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