---
id: CVE-2025-59981
title: "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 Template Definition page that, when visited by a…"
summary: "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 Template Definition page that, when visited by a…"
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: juniper
product: junos_space
affected:
  - junos_space < 24.1
  - junos_space = 24.1
patched:
  - junos_space 24.1
published: '2025-10-09'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T13:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-59981'
references:
  - url: 'https://supportportal.juniper.net/JSA103140'
    label: sirt@juniper.net
tags:
  - nvd
epss: 0.00275
epssPercentile: 0.18217
ingestedAt: '2026-10-08T13:42:55.045Z'
---

## Overview

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 Template Definition 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.

## Affected

- `junos_space < 24.1`
- `junos_space = 24.1`

## Remediation

Upgrade past the affected range:

- `junos_space 24.1`
