Skip to main content

Juniper Junos Space CVE-2025-59998

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
    Reach Junos Space log-generating input
  2. Delivery
    Inject stored script into Archive Log data
  3. Exploit
    Admin opens Archive Log screen
  4. Execution
    Script executes in admin session
  5. Impact
    Perform UI 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 targets the Junos Space web UI 'Archive Log' screen specifically: the attacker must get script tags stored in content that this screen renders, and a second user - ideally an administrator - must actively open that screen for the payload to execute (UI:A is the primary limiting factor). The CVSS vector lists PR:N, implying no authentication is required to plant the payload, though the precise log-injection path is not described and should be confirmed with Juniper. Affected deployments are any Junos Space instance before 24.1R4; the issue is fixed in 24.1R4. Impact is bounded to actions performable within the victim's authenticated session (SC:L/SI:L) and does not directly compromise the underlying appliance OS.

Impact

This is a medium-severity stored cross-site scripting flaw (CVSS 4.0 base 5.1, vendor-assigned by Juniper SIRT) whose signals consistently point to moderate, not critical, real-world risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) indicates a network-reachable, low-complexity issue, but exploitation is gated by UI:A - a legitimate user (ideally an administrator) must actively visit the Archive Log screen for the injected script to fire. Impact is confined to the subsequent system (victim's session/browser) at SC:L/SI:L with no direct impact on the vulnerable host itself (VC:N/VI:N/VA:N), consistent with XSS rather than direct code execution on the appliance. EPSS is low (0.22%, 12th percentile), there is no CISA KEV listing and no public exploit identified, so there is no evidence of widespread or active exploitation. The description's claim that an attacker can 'execute commands with the target's permissions, including an administrator' describes script-in-session abuse (acting as the victim via the web UI), not unauthenticated remote code execution - do not over-read this as RCE. One point to verify: the vector states PR:N (no privileges to inject), which is plausible if attacker-controlled data reaches the archive log without authentication, but the exact injection path is not detailed in the available data - confirm with Juniper whether log entries can be poisoned by an unauthenticated actor.

Exploit ScenarioDerived

An attacker injects crafted script tags into data that is rendered on the Junos Space Archive Log screen. When an administrator later opens that screen, the stored script executes in the admin's authenticated session and performs actions in the Junos Space UI with the administrator's privileges. No public exploit code has been identified, and success depends on an admin actually viewing the poisoned log screen (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 Networks Junos Space (all versions before 24.1R4) lets a remote attacker inject script tags into content rendered by the Archive Log screen, so that when another user - including an administrator - opens that screen the payload executes with the victim's permissions. Per the CVSS 4.0 vector the attacker does not need to authenticate to plant the payload (PR:N), but exploitation requires the victim to actively visit the Archive Log page (UI:A), which is the primary limiting factor; impact is confined to the victim's authenticated web session (SC:L/SI:L) rather than the appliance OS. No public exploit code has been identified and EPSS is low at 0.22% (12th percentile), and the issue is fixed in Junos Space 24.1R4.

RemediationAI

The primary fix is to upgrade Junos Space to 24.1R4, the first release in which the improper neutralization in the Archive Log screen is corrected; see Juniper's advisory JSA103140 (https://supportportal.juniper.net/JSA103140) for the official upgrade instructions and any prerequisite release path. Vendor-released patch: 24.1R4. Where an immediate upgrade is not possible, compensating controls should focus on reducing exposure of the vulnerable screen and the reach of injected content: restrict access to the Junos Space web UI to trusted administrative networks via firewall rules or management-plane ACLs (this shrinks the pool of users who can plant or trigger payloads, but it does not remove the defect and requires careful change control to avoid locking out legitimate administrators); avoid browsing the Archive Log screen until the upgrade is applied and instruct staff not to open it from untrusted links; consider disabling or restricting the log-archival/viewing workflow if it is not operationally required, accepting the loss of that diagnostic capability. Because the payload executes in an authenticated session, terminating idle administrative sessions and using separate, lower-privileged accounts for routine UI browsing limits the blast radius, though session-level defenses such as a WAF signature or strict Content-Security-Policy can only partially mitigate a stored XSS and should not be treated as a substitute for the 24.1R4 upgrade.

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

CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: data that flows into the Junos Space web UI's Archive Log screen is rendered without adequate output encoding, so attacker-supplied content containing script tags is stored and later executed in the browser of whoever views the screen. This is a stored/persistent XSS rather than a reflected one - the injectable content lives in the log/archive data that the screen displays, which is why exploitation is deferred until a second user (a high-value target being an administrator) navigates to that page. Junos Space is Juniper's network management platform (an appliance-hosted central management application for Juniper devices), and its UI session carries administrative privileges over the managed network, so script execution inside that session can be leveraged to perform actions available to the victim. The CPE data (cpe:2.3:a:juniper:junos_space with versions 24.1:r1, 24.1:r2, 24.1:r3 and a wildcard 'all versions' entry) confirms the entire Junos Space release stream before 24.1R4 is in scope. The assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) is consistent with the 4.0 base score of 5.1 assigned by Juniper SIRT: scope changes - code runs in the victim's session - but confidentiality and integrity effects are limited and availability is not impacted, and there is no direct compromise of the underlying appliance operating system.

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 6.1 MEDIUM

Network-reachable stored XSS requiring an admin to view the Archive Log page (UI:R); scope changes to the victim's browser session (S:C) with limited confidentiality/integrity impact and no availability loss.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/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 Archive Log screen 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 88% exploitable
Prevalence
Medium
Enterprise Juniper network-management platform, common in Juniper shops but not everywhere
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