Juniper Junos Space
CVE-2025-59999
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write access to API Access Profiles
-
DeliveryInject malicious script into profile field
-
ExploitAdministrator opens poisoned page
-
ExecutionStored XSS executes in admin session
-
ImpactPerform actions with administrator 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 into a field on the Junos Space API Access Profiles page, and then requires a second privileged user (such as an administrator) to visit that page for the payload to fire (UI:A / stored XSS). Limiting factors: (1) mandatory victim interaction - no impact until a privileged user loads the affected page; (2) the vendor's PR:N notwithstanding, injecting into the API Access Profiles configuration area realistically implies the attacker already has some authenticated access to write that profile, narrowing the attacker population to users who can reach and modify that admin page; (3) affected scope is limited to Junos Space instances running any version before 24.1R4 (24.1R1/R2/R3 explicitly enumerated in the CPE list). Upgrading to 24.1R4 or later removes the condition. |
| Impact | This is a stored/persistent cross-site scripting flaw (CWE-79) in the API Access Profiles page of Juniper Junos Space, rated by the vendor at CVSS 4.0 5.1 (Medium). The signals are mutually consistent in pointing to a MODERATE, non-urgent priority rather than a top-tier emergency: EPSS is very low at 0.24% (13th percentile), the issue is NOT on the CISA KEV list, and no public proof-of-concept was provided in the input. Exploitation status is therefore 'no public exploit identified at time of analysis.' The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) describes network reach and low complexity but critically requires victim interaction (UI:A) - a privileged user must visit the poisoned page - which caps real-world impact and makes this a targeted, social-engineering-dependent vector rather than a wormable or automatable one. The impact metrics are limited to the subsequent system (SC:L/SI:L, with VC/VI/VA all N on the vulnerable system), reflecting session-level script execution rather than direct data loss. CONFLICT TO VERIFY: the vendor's vector sets PR:N (unauthenticated), yet the description states the payload is injected into the API Access Profiles configuration page - an administrative area that normally requires an authenticated session to write to. This suggests the attacker may in fact need at least low-privilege authenticated write access to plant the script, so the PR:N rating is questionable and should be confirmed with Juniper. Net: a genuine but non-critical, interaction- and likely access-gated vulnerability affecting a management platform; patch on a normal cycle, not a fire drill. |
| Exploit ScenarioDerived | An attacker with the ability to write to the API Access Profiles page injects malicious <script> tags into a profile field. When an administrator or other privileged user later opens that page in the Junos Space web UI, the stored script executes in their authenticated browser session and performs actions with the victim's permissions, including administrator-level operations. No public exploit code was identified, and successful exploitation depends on a privileged user visiting the poisoned page (UI:A). |
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 (all versions before 24.1R4) lets an attacker plant script tags in the API Access Profiles page that fire in the browser of any user who subsequently opens that page, including an administrator, allowing commands to run with the victim's permissions. The vendor rates the issue CVSS 4.0 5.1 (Medium, vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/...), with exploitation gated on victim interaction - the payload is inert until a privileged user views the poisoned page. No public exploit code and no confirmed active exploitation were identified at time of analysis, and EPSS is 0.24% (13th percentile), indicating low predicted exploitation activity; the independent assessment narrows the practical attacker population to users who can already reach and modify that administrative configuration area.
RemediationAI
The primary fix is to upgrade Junos Space to 24.1R4 or later, which removes the improper neutralization condition in the API Access Profiles page; Juniper's advisory JSA103140 (https://supportportal.juniper.net/JSA103140) provides the official upgrade guidance and should be used to confirm the exact fixed build for your deployment path. Until the upgrade can be staged, compensating controls should focus on the specific attack surface: restrict network and role-based access to the API Access Profiles administration page so only a small, trusted set of administrators can reach it, understanding that this reduces but does not eliminate exposure since the malicious record persists for every later viewer; audit and scrub existing API Access Profiles entries for injected HTML/script fragments so pre-existing payloads do not survive the upgrade; and require administrators to use separate, non-privileged browser sessions for routine browsing, with trade-offs in operational convenience and a risk that privileged console sessions remain exposed. Because exploitation depends on a privileged user visiting the poisoned page (UI:A), there is no network-level block or port restriction that meaningfully mitigates this flaw, and no vendor-released patch alternative to upgrading to 24.1R4 has been identified.
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: user-supplied content written into the API Access Profiles configuration of Junos Space - a centralized network management platform for Juniper devices - is rendered back to other users without adequate output encoding, producing persistent (stored) XSS. Because the injected markup is persisted server-side in the profile record rather than reflected in a single request, it detonates for every user who loads the page until it is removed. The CVSS 4.0 vector shows scope change with low subsequent confidentiality and integrity impact (SC:L/SI:L), while the independent assessment's CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) likewise captures a network-reachable, interaction-dependent flaw whose impact crosses a trust boundary because the script executes in the security context of a higher-privileged viewer. Affected CPEs enumerate the entire juniper:junos_space branch below the fix as well as the explicitly named 24.1 R1, R2, and R3 builds.
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
Storing the payload in an admin config page implies authenticated write access (PR:L); a privileged victim must load the page (UI:R); script runs in the victim's session affecting another user (S:C) with limited C/I 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 API Access Profiles 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