Product:
Junos Space
Summary
An Improper Neutralization of Input During Web Page Generation vulnerability in Juniper Networks Junos Space allows an attacker to inject script tags in a field on the Purging Policy page. When visited by another user, this 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.
Details
| Severity | Base Score | CVE |
|---|---|---|
| MEDIUM | 5.1 | CVE-2025-59985 |
Exploitation
To exploit this vulnerability, an attacker must inject malicious script tags into the Purging Policy page. Once the page is saved and another user visits it, the script executes in the context of that user, allowing the attacker to perform actions with the user’s permissions. This requires user interaction, as the victim must visit the compromised page.
Affected Products
- Junos Space: All versions before 24.1R4 are affected by this vulnerability.
Mitigation
To mitigate this vulnerability, users should upgrade to Junos Space version 24.1R4 or later. Additionally, it is recommended to implement input validation and sanitization measures to prevent script injection in web applications.
