{"answers":{"affected":"6 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-41117 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to a fixed version for your release line: 12.2.5 or 12.3.3.","what":"CVE-2025-41117 is a medium-severity cross-site scripting vulnerability in Grafana Grafana, published on 12 Feb 2026. 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-2025-41117 and fix it if it is affected.\n\nWhat it is: CVE-2025-41117 is a medium-severity cross-site scripting vulnerability in Grafana Grafana, published on 12 Feb 2026. 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-2025-41117 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/grafana/grafana (Go): affected all versions; no fix listed\n- github.com/grafana/grafana (Go): affected from 12.2.0; fixed in 12.2.5\n- github.com/grafana/grafana (Go): affected from 12.2.0; fixed in 12.2.5\n- github.com/grafana/grafana (Go): affected from 12.3.0; fixed in 12.3.3\n- github.com/grafana/grafana (Go): affected from 12.3.0; fixed in 12.3.3\n- grafana (Bitnami): affected from 12.2.0; fixed in 12.2.4, 12.3.2\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-41117/ (Markdown: https://insights.sbomify.com/CVE-2025-41117/index.md)","id":"CVE-2025-41117","markdown":"https://insights.sbomify.com/CVE-2025-41117/index.md","name":"CVE-2025-41117","record":{"aliases":["BIT-grafana-2025-41117","GHSA-cqp7-wf4c-3xgc","GO-2026-5332","MINI-jjq4-8gvq-x7x2","MINI-mmcc-h9qq-8ww9","MINI-v7mv-6q7g-j3mq","MINI-vcr9-rf2w-7mfh","UBUNTU-CVE-2025-41117"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Grafana observability platform","requires_auth":"none","summary":"Attackers can inject malicious JavaScript via stack traces in Grafana Explore when using Jaeger HTTP datasources, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[{"product":"grafana","vendor":"grafana"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Stack traces in Grafana's Explore Traces view can be rendered as raw HTML, and thus inject malicious JavaScript in the browser. This would require malicious JavaScript to be entered into the stack trace field.\n\nOnly datasources with the Jaeger HTTP API appear to be affected; Jaeger gRPC and Tempo do not appear affected whatsoever.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"XSS in Grafana Explore stack trace","id":"CVE-2025-41117","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"grafana:grafana","products":["grafana:grafana"],"type":"xss","year":"2025"},"n_packages":6,"n_references":1,"next":{"headline":"Sensitive COS `SecretKey` exposed in plaintext via configuration API due to missing type protection","id":"CVE-2025-41118"},"packages":[{"ecosystem":"Bitnami","fixed":["12.2.4","12.3.2"],"introduced":["12.2.0","12.3.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2025-41117"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2026-5332"},{"ecosystem":"Go","fixed":["12.2.5"],"introduced":["12.2.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-cqp7-wf4c-3xgc"},{"ecosystem":"Go","fixed":["12.2.5"],"introduced":["12.2.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-cqp7-wf4c-3xgc"},{"ecosystem":"Go","fixed":["12.3.3"],"introduced":["12.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-cqp7-wf4c-3xgc"},{"ecosystem":"Go","fixed":["12.3.3"],"introduced":["12.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-cqp7-wf4c-3xgc"}],"prev":{"headline":"Incorrect oauth passthrough in Grafana Databricks Datasource","id":"CVE-2025-41116"},"products":["grafana/grafana","grafana/grafana-enterprise"],"published":"2026-02-12","related":[{"cvss_score":7.5,"headline":"Grafana Path Traversal","id":"CVE-2021-43798","kev_date_added":"2025-10-09","published":"2021-12-07"},{"cvss_score":10,"headline":"Incorrect privilege assignment","id":"CVE-2025-41115","kev_date_added":null,"published":"2025-11-21"},{"cvss_score":9.8,"headline":"Grafana vulnerable to race condition allowing privilege escalation","id":"CVE-2022-39328","kev_date_added":null,"published":"2022-11-08"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2022-28660","kev_date_added":null,"published":"2022-05-20"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2022-26148","kev_date_added":null,"published":"2022-03-21"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2018-15727","kev_date_added":null,"published":"2018-08-29"},{"cvss_score":9.4,"headline":"Grafana SQL Expressions allow for remote code execution","id":"CVE-2024-9264","kev_date_added":null,"published":"2024-10-18"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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-08-27","vendors":["Grafana"]},"summary":"Attackers can inject malicious JavaScript via stack traces in Grafana Explore when using Jaeger HTTP datasources, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2025-41117/"}