{"answers":{"affected":"4 open source packages ship an affected version, including github.com/grafana/grafana and grafana.","exploited":"There is no known exploitation of CVE-2025-6023 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to 1.9.2-0.20250521205822-0ba0b99665a9 or later.","what":"CVE-2025-6023 is a high-severity vulnerability in Grafana, published on 18 Jul 2025. 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-6023 and fix it if it is affected.\n\nWhat it is: CVE-2025-6023 is a high-severity vulnerability in Grafana, published on 18 Jul 2025. 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-6023 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 all versions; fixed in 1.9.2-0.20250521205822-0ba0b99665a9\n- github.com/grafana/grafana (Go): affected all versions; fixed in 1.9.2-0.20250521205822-0ba0b99665a9\n- grafana (Bitnami): affected from 11.3.0; fixed in 11.6.3, 12.0.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-6023/ (Markdown: https://insights.sbomify.com/CVE-2025-6023/index.md)","id":"CVE-2025-6023","markdown":"https://insights.sbomify.com/CVE-2025-6023/index.md","name":"CVE-2025-6023","record":{"aliases":["BIT-grafana-2025-6023","GHSA-vqph-p5vc-g644","GO-2025-3817","MINI-3pq5-cwjw-2537","MINI-4wfc-4fg6-v6w6","MINI-5qvr-546f-8c2c","MINI-6hvg-qv7j-2qjg","MINI-6w2x-gxp6-j985","MINI-78mq-hcqc-7qp4","MINI-7mhf-gm9v-5977","MINI-93hj-mj2j-w975","MINI-9j73-vrhr-fwmf","MINI-9rf5-9658-cvmv","MINI-ch7m-hr9g-4j2x","MINI-g393-m7wp-4654","MINI-mvmp-cv59-j65q","MINI-qpp6-p3j4-jrhm","MINI-w46p-wc82-w87p","MINI-ww7v-qm49-jm43","MINI-x7j9-rh86-h5f8","UBUNTU-CVE-2025-6023"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Grafana monitoring platform","requires_auth":"none","summary":"Attackers can exploit an open redirect in Grafana to chain with path traversal for XSS, requiring an upgrade to patched versions.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"An open redirect vulnerability has been identified in Grafana OSS that can be exploited to achieve XSS attacks. The vulnerability was introduced in Grafana v11.5.0.\n\nThe open redirect can be chained with path traversal vulnerabilities to achieve XSS.\n\nFixed in versions 12.0.2+security-01, 11.6.3+security-01, 11.5.6+security-01, 11.4.6+security-01 and 11.3.8+security-01","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":"Grafana is vulnerable to XSS attacks through open redirects and path traversal","id":"CVE-2025-6023","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"open_redirect","year":"2025"},"n_packages":4,"n_references":2,"next":{"headline":"Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Allows Redirection to Malicious Websites","id":"CVE-2025-6024"},"packages":[{"ecosystem":"Bitnami","fixed":["11.6.3","12.0.2"],"introduced":["11.3.0","12.0.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2025-6023"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2025-3817"},{"ecosystem":"Go","fixed":["1.9.2-0.20250521205822-0ba0b99665a9"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-vqph-p5vc-g644"},{"ecosystem":"Go","fixed":["1.9.2-0.20250521205822-0ba0b99665a9"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-vqph-p5vc-g644"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-6022"},"products":["Grafana"],"published":"2025-07-18","related":[],"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":"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":"2025-07-18","vendors":["Grafana"]},"summary":"Attackers can exploit an open redirect in Grafana to chain with path traversal for XSS, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2025-6023/"}