{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2021-39047 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-39047 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-39047 is a medium-severity cross-site scripting vulnerability in Ibm Cognos Analytics, published on 24 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-39047 and fix it if it is affected.\n\nWhat it is: CVE-2021-39047 is a medium-severity cross-site scripting vulnerability in Ibm Cognos Analytics, published on 24 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-39047 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-2021-39047/ (Markdown: https://insights.sbomify.com/CVE-2021-39047/index.md)","id":"CVE-2021-39047","markdown":"https://insights.sbomify.com/CVE-2021-39047/index.md","name":"CVE-2021-39047","record":{"aliases":["GHSA-95pr-vff8-3fxx"],"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":"none","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"},{"product":"planning_analytics","vendor":"ibm"},{"product":"oncommand_insight","vendor":"netapp"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.0/PR:N/I:L/UI:R/AC:L/A:N/S:C/C:L/AV:N/RC:C/E:H/RL:O","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"IBM Planning Analytics 2.0 and IBM Cognos Analytics 11.2.1, 11.2.0, and 11.1.7 are 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 X-Force ID: 214349.","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-2021-39047","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"ibm:cognos_analytics","products":["ibm:cognos_analytics","netapp:oncommand_insight"],"type":"xss","year":"2021"},"n_packages":0,"n_references":4,"next":{"headline":"Memory corruption in Spectrum Protect","id":"CVE-2021-39048"},"packages":[],"prev":{"headline":"Information disclosure in Business Automation Workflow","id":"CVE-2021-39046"},"products":["Cognos Analytics"],"published":"2022-06-24","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-09-16","vendors":["IBM"]},"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-2021-39047/"}