{"answers":{"affected":"2 open source packages ship an affected version, including github.com/grafana/grafana. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-13068 exists.","fix":"Upgrade github.com/grafana/grafana to 6.2.5 or later.","what":"CVE-2019-13068 is a medium-severity cross-site scripting vulnerability in Grafana Grafana, published on 29 Jun 2019. 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-2019-13068 and fix it if it is affected.\n\nWhat it is: CVE-2019-13068 is a medium-severity cross-site scripting vulnerability in Grafana Grafana, published on 29 Jun 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-13068 exists.\n\nAffected packages and fixed versions:\n- github.com/grafana/grafana (Go): affected all versions; fixed in 6.2.5\n- github.com/grafana/grafana (Go): affected all versions; fixed in 6.2.5\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-2019-13068/ (Markdown: https://insights.sbomify.com/CVE-2019-13068/index.md)","id":"CVE-2019-13068","markdown":"https://insights.sbomify.com/CVE-2019-13068/index.md","name":"CVE-2019-13068","record":{"aliases":["GHSA-7phr-6cc9-4m5q"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Grafana monitoring platform","requires_auth":"none","summary":"Attackers can inject HTML into Grafana panel drilldown links, potentially executing scripts and compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"grafana","vendor":"grafana"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"public/app/features/panel/panel_ctrl.ts in Grafana before 6.2.5 allows HTML Injection in panel drilldown links (via the Title or url field).","ecosystems":["Go"],"exploits":{"exploitdb":1,"first_seen":"2023-03-27","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-03-27","kind":"exploitdb","ref":"51073","stars":null,"title":"Grafana \u003c=6.2.4 - HTML Injection"}],"tier":"weaponised"},"has_fix":true,"headline":"Grafana Cross-site Scripting vulnerability","id":"CVE-2019-13068","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"grafana:grafana","products":["grafana:grafana"],"type":"xss","year":"2019"},"n_packages":2,"n_references":4,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2019-13069"},"packages":[{"ecosystem":"Go","fixed":["6.2.5"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-7phr-6cc9-4m5q"},{"ecosystem":"Go","fixed":["6.2.5"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-7phr-6cc9-4m5q"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2019-13067"},"products":["n/a"],"published":"2019-06-29","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":"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":"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can inject HTML into Grafana panel drilldown links, potentially executing scripts and compromising user sessions.","url":"https://insights.sbomify.com/CVE-2019-13068/"}