{"answers":{"affected":"6 open source packages ship an affected version, including highcharts.","exploited":"There is no known exploitation of CVE-2026-118251 in the wild and no public exploit code.","fix":"Upgrade highcharts to a fixed version for your release line: 11.4.9, 12.6.1 or 13.1.0.","what":"CVE-2026-118251 is a high-severity vulnerability in highcharts, published on 28 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-118251 and fix it if it is affected.\n\nWhat it is: CVE-2026-118251 is a high-severity vulnerability in highcharts, published on 28 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-118251 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- highcharts (npm): affected all versions; fixed in 11.4.9\n- highcharts (npm): affected all versions; fixed in 11.4.9\n- highcharts (npm): affected from 12.0.0; fixed in 12.6.1\n- highcharts (npm): affected from 12.0.0; fixed in 12.6.1\n- highcharts (npm): affected from 13.0.0; fixed in 13.1.0\n- highcharts (npm): affected from 13.0.0; fixed in 13.1.0\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-2026-118251/ (Markdown: https://insights.sbomify.com/CVE-2026-118251/index.md)","id":"CVE-2026-118251","markdown":"https://insights.sbomify.com/CVE-2026-118251/index.md","name":"CVE-2026-118251","record":{"aliases":["GHSA-5793-x2q3-c3q7"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Highcharts JS is a JavaScript charting library based on SVG. Prior to 11.4.9, 12.6.1, and 13.1.0, Highcharts assigns credits.href to the window location when the credits label is clicked without checking the URL against the allowed-scheme list. An attacker who controls chart configuration can provide a javascript URL and run script in the origin of the hosting page when a user clicks the credits label. Highcharts Stock, Maps, and Gantt are included because they ship from the same package. This issue is fixed in 11.4.9, 12.6.1 and 13.1.0.","ecosystems":["npm"],"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":"Highcharts: javascript: URL in credits.href runs script on click","id":"CVE-2026-118251","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":6,"n_references":4,"next":{"headline":"Highcharts Dashboards: sidebar component labels are parsed as HTML","id":"CVE-2026-118252"},"packages":[{"ecosystem":"npm","fixed":["11.4.9"],"introduced":["0"],"last_affected":[],"package":"highcharts","purl":null,"source":"GHSA-5793-x2q3-c3q7"},{"ecosystem":"npm","fixed":["11.4.9"],"introduced":["0"],"last_affected":[],"package":"highcharts","purl":"pkg:npm/highcharts","source":"GHSA-5793-x2q3-c3q7"},{"ecosystem":"npm","fixed":["12.6.1"],"introduced":["12.0.0"],"last_affected":[],"package":"highcharts","purl":null,"source":"GHSA-5793-x2q3-c3q7"},{"ecosystem":"npm","fixed":["12.6.1"],"introduced":["12.0.0"],"last_affected":[],"package":"highcharts","purl":"pkg:npm/highcharts","source":"GHSA-5793-x2q3-c3q7"},{"ecosystem":"npm","fixed":["13.1.0"],"introduced":["13.0.0"],"last_affected":[],"package":"highcharts","purl":null,"source":"GHSA-5793-x2q3-c3q7"},{"ecosystem":"npm","fixed":["13.1.0"],"introduced":["13.0.0"],"last_affected":[],"package":"highcharts","purl":"pkg:npm/highcharts","source":"GHSA-5793-x2q3-c3q7"}],"prev":{"headline":"Highcharts: dotted series.keys paths write to Object.prototype","id":"CVE-2026-118250"},"products":["highcharts"],"published":"2026-10-28","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":"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":"2026-10-28","vendors":["highcharts"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-118251/"}