{"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","slug":"CVE-2025-59981","body":"## Overview\n\nAn 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.\n\n## Affected\n\n- `junos_space < 24.1`\n- `junos_space = 24.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `junos_space 24.1`","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}