{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-59974 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-59974 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59974 is a critical cross-site scripting vulnerability in Juniper Networks Junos Space Security Director, published on 9 Oct 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-59974 and fix it if it is affected.\n\nWhat it is: CVE-2025-59974 is a critical cross-site scripting vulnerability in Juniper Networks Junos Space Security Director, published on 9 Oct 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-59974 in the wild and no public exploit code.\n\nAffected product: Juniper Networks Junos Space Security Director. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59974/ (Markdown: https://insights.sbomify.com/CVE-2025-59974/index.md)","id":"CVE-2025-59974","markdown":"https://insights.sbomify.com/CVE-2025-59974/index.md","name":"CVE-2025-59974","record":{"aliases":["GHSA-c74m-j3p4-8gjx"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Juniper Security Director","requires_auth":"high_privilege","summary":"Attackers can inject persistent malicious scripts into Junos Space Security Director, executing them in other users' browsers to potentially hijack sessions or execute code.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"juniper","cpe":[{"product":"space_security_director","vendor":"juniper"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/R:U/V:C/RE:M/U:Amber","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Junos Space Security Director allows an attacker to inject malicious scripts into the application, which are then stored and executed in the context of other users' browsers when they access affected pages.This issue affects Juniper Security Director: \n\n  *  All versions before 24.1R4.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Junos Space Security Director: Persistent Cross-Site Scripting (XSS) vulnerability","id":"CVE-2025-59974","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Junos Space: Flooding device with inbound API calls leads to WebUI and CLI management access DoS","id":"CVE-2025-59975"},"packages":[],"prev":{"headline":"Memory corruption in Junos OS Evolved","id":"CVE-2025-59969"},"products":["Junos Space Security Director"],"published":"2025-10-09","related":[{"cvss_score":7.7,"headline":"Junos Space Security Director: Insufficient authorization for sensitive resources in web interface","id":"CVE-2025-59968","kev_date_added":null,"published":"2025-10-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Juniper Networks"]},"summary":"Attackers can inject persistent malicious scripts into Junos Space Security Director, executing them in other users' browsers to potentially hijack sessions or execute code.","url":"https://insights.sbomify.com/CVE-2025-59974/"}