{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-31981 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-31981 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-31981 is a medium-severity cross-site scripting vulnerability in Nozomi Networks CMC, published on 9 Jul 2026. 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-2026-31981 and fix it if it is affected.\n\nWhat it is: CVE-2026-31981 is a medium-severity cross-site scripting vulnerability in Nozomi Networks CMC, published on 9 Jul 2026. 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-2026-31981 in the wild and no public exploit code.\n\nAffected product: Nozomi Networks CMC. 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-2026-31981/ (Markdown: https://insights.sbomify.com/CVE-2026-31981/index.md)","id":"CVE-2026-31981","markdown":"https://insights.sbomify.com/CVE-2026-31981/index.md","name":"CVE-2026-31981","record":{"aliases":["GHSA-5g4m-c643-h8fj"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Nozomi Networks CMC","requires_auth":"high_privilege","summary":"Authenticated administrators can inject HTML into configuration data, enabling phishing or open redirects when viewed by others in the web interface.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Nozomi","cpe":[{"product":"cmc","vendor":"nozominetworks"},{"product":"guardian","vendor":"nozominetworks"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A Stored HTML Injection vulnerability was discovered in the Diagram tab and Graph view due to a shared input validation function being insufficiently restrictive. An authenticated user with administrative privileges can inject malicious HTML tags into N2OS configuration data through multiple input vectors. When a victim views the affected data in the Diagram tab and Graph view, the injected HTML renders in their browser, enabling phishing and possibly open redirect attacks. Full XSS exploitation and direct information disclosure are prevented by the existing input validation and Content Security Policy configuration.","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":"HTML injection in Diagram tab and Graph view in Guardian/CMC before 26.2.0","id":"CVE-2026-31981","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Open Redirect in SAML Single Sign-On in Guardian/CMC before 26.2.0","id":"CVE-2026-31982"},"packages":[],"prev":{"headline":"himmelblaud-tasks: local privilege escalation via /tmp symlink attack on Kerberos ccache","id":"CVE-2026-31979"},"products":["CMC","Guardian"],"published":"2026-07-09","related":[{"cvss_score":9.2,"headline":"SQL Injection on IDS parsing of malformed asset fields in Guardian/CMC \u003e= 22.6.0 before 22.6.3 and 23.1.0","id":"CVE-2023-29245","kev_date_added":null,"published":"2023-09-19"},{"cvss_score":8.7,"headline":"DoS through oversized audit log entries in Guardian/CMC before 26.2.0","id":"CVE-2026-31984","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":8.7,"headline":"Authenticated SQL Injection on Query functionality in Guardian/CMC before 22.6.3 and 23.1.0","id":"CVE-2023-2567","kev_date_added":null,"published":"2023-09-19"},{"cvss_score":8.7,"headline":"Authenticated Blind SQL Injection on sorting in Guardian/CMC before 22.6.2","id":"CVE-2023-22378","kev_date_added":null,"published":"2023-08-09"},{"cvss_score":8.7,"headline":"Authenticated Blind SQL Injection on alerts count in Guardian/CMC before 22.6.2","id":"CVE-2023-23574","kev_date_added":null,"published":"2023-08-09"},{"cvss_score":8.7,"headline":"Authenticated SQL Injection on Alerts in Guardian/CMC before 22.5.2","id":"CVE-2022-4259","kev_date_added":null,"published":"2023-05-04"},{"cvss_score":8.6,"headline":"Authenticated RCE on logo report upload in Guardian/CMC before 22.0.0","id":"CVE-2022-0550","kev_date_added":null,"published":"2022-03-24"}],"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":"partial"},"state":"PUBLISHED","updated":"2026-08-11","vendors":["Nozomi Networks"]},"summary":"Authenticated administrators can inject HTML into configuration data, enabling phishing or open redirects when viewed by others in the web interface.","url":"https://insights.sbomify.com/CVE-2026-31981/"}