{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-3031 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2016-3031 yet. Limit exposure of the affected software until one is available.","what":"CVE-2016-3031 is a medium-severity cross-site scripting vulnerability in Ibm Cognos Analytics, published on 5 Apr 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-3031 and fix it if it is affected.\n\nWhat it is: CVE-2016-3031 is a medium-severity cross-site scripting vulnerability in Ibm Cognos Analytics, published on 5 Apr 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2016-3031 in the wild and no public exploit code.\n\nAffected product: Ibm Cognos Analytics. 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-2016-3031/ (Markdown: https://insights.sbomify.com/CVE-2016-3031/index.md)","id":"CVE-2016-3031","markdown":"https://insights.sbomify.com/CVE-2016-3031/index.md","name":"CVE-2016-3031","record":{"aliases":["GHSA-2wx4-c69c-72wc"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"IBM Cognos Analytics","requires_auth":"low_privilege","summary":"Attackers can inject JavaScript into the web interface to steal credentials from trusted sessions in IBM Cognos Analytics.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ibm","cpe":[{"product":"cognos_analytics","vendor":"ibm"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"IBM Cognos Analytics 11.0 is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session. IBM Reference #: 1998887.","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":"Cross-site scripting in Cognos Analytics","id":"CVE-2016-3031","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"ibm:cognos_analytics","products":["ibm:cognos_analytics"],"type":"xss","year":"2016"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-site scripting in Cognos Analytics","id":"CVE-2016-3032"},"packages":[],"prev":{"headline":"Cross-site request forgery in Access Manager","id":"CVE-2016-3029"},"products":["Cognos Analytics"],"published":"2017-04-05","related":[{"cvss_score":10,"headline":"Missing authorization in Cognos Analytics","id":"CVE-2020-4561","kev_date_added":null,"published":"2021-05-31"},{"cvss_score":9,"headline":"IBM Cognos Analytics expression language injection","id":"CVE-2024-51466","kev_date_added":null,"published":"2024-12-20"},{"cvss_score":8.8,"headline":"Code injection in Cognos Analytics","id":"CVE-2021-29679","kev_date_added":null,"published":"2021-10-15"},{"cvss_score":8.6,"headline":"IBM Cognos Analytics log injection","id":"CVE-2024-25047","kev_date_added":null,"published":"2024-05-02"},{"cvss_score":8.3,"headline":"IBM Cognos Analytics 11.0 and 11.1 is vulnerable to a XML External Entity Injection (XXE) attack when processing XML data.","id":"CVE-2018-1721","kev_date_added":null,"published":"2019-11-09"},{"cvss_score":8.2,"headline":"XML external entity in Cognos Analytics","id":"CVE-2020-4300","kev_date_added":null,"published":"2021-05-31"},{"cvss_score":8.2,"headline":"XML external entity in Cognos Analytics","id":"CVE-2020-4377","kev_date_added":null,"published":"2020-08-03"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["IBM Corporation"]},"summary":"Attackers can inject JavaScript into the web interface to steal credentials from trusted sessions in IBM Cognos Analytics.","url":"https://insights.sbomify.com/CVE-2016-3031/"}