{"answers":{"affected":"3 open source packages ship an affected version, including github.com/grafana/grafana-infinity-datasource.","exploited":"There is no known exploitation of CVE-2025-8341 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana-infinity-datasource to 1.4.2-0.20250731100004-9c736aa21b3a or later.","what":"CVE-2025-8341 is a medium-severity server-side request forgery vulnerability in grafana-infinity-datasource, published on 4 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-8341 and fix it if it is affected.\n\nWhat it is: CVE-2025-8341 is a medium-severity server-side request forgery vulnerability in grafana-infinity-datasource, published on 4 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-8341 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/grafana/grafana-infinity-datasource (Go): affected all versions; fixed in 1.4.2-0.20250731100004-9c736aa21b3a\n- github.com/grafana/grafana-infinity-datasource (Go): affected all versions; fixed in 1.4.2-0.20250731100004-9c736aa21b3a\n- github.com/grafana/grafana-infinity-datasource (Go): affected all versions; fixed in 1.4.2-0.20250731100004-9c736aa21b3a\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-8341/ (Markdown: https://insights.sbomify.com/CVE-2025-8341/index.md)","id":"CVE-2025-8341","markdown":"https://insights.sbomify.com/CVE-2025-8341/index.md","name":"CVE-2025-8341","record":{"aliases":["GHSA-3c93-92r7-j934","GO-2025-3843"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Grafana plugin","requires_auth":"low_privilege","summary":"An attacker can bypass URL restrictions in the Grafana Infinity plugin to perform Server-Side Request Forgery attacks.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Grafana is an open-source platform for monitoring and observability. The Infinity datasource plugin, maintained by Grafana Labs, allows visualizing data from JSON, CSV, XML, GraphQL, and HTML endpoints.\n\nIf the plugin was configured to allow only certain URLs, an attacker could bypass this restriction using a specially crafted URL. This vulnerability is fixed in version 3.4.1.","ecosystems":["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":"SSRF in Infinity Datasource Plugin","id":"CVE-2025-8341","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"WooCommerce OTP Login With Phone Number, OTP Verification \u003c= 1.8.47 - Authentication Bypass","id":"CVE-2025-8342"},"packages":[{"ecosystem":"Go","fixed":["1.4.2-0.20250731100004-9c736aa21b3a"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana-infinity-datasource","purl":null,"source":"GHSA-3c93-92r7-j934"},{"ecosystem":"Go","fixed":["1.4.2-0.20250731100004-9c736aa21b3a"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana-infinity-datasource","purl":"pkg:golang/github.com/grafana/grafana-infinity-datasource","source":"GHSA-3c93-92r7-j934"},{"ecosystem":"Go","fixed":["1.4.2-0.20250731100004-9c736aa21b3a"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana-infinity-datasource","purl":"pkg:golang/github.com/grafana/grafana-infinity-datasource","source":"GO-2025-3843"}],"prev":{"headline":"code-projects Intern Membership Management System Error Message fill_details.php cross site scripting","id":"CVE-2025-8340"},"products":["grafana-infinity-datasource"],"published":"2025-08-04","related":[],"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":"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-08-04","vendors":["Grafana"]},"summary":"An attacker can bypass URL restrictions in the Grafana Infinity plugin to perform Server-Side Request Forgery attacks.","url":"https://insights.sbomify.com/CVE-2025-8341/"}