{"answers":{"affected":"4 open source packages ship an affected version, including @highcharts/grid-lite and @highcharts/grid-pro.","exploited":"There is no known exploitation of CVE-2026-118242 in the wild and no public exploit code.","fix":"Upgrade @highcharts/grid-lite to 3.2.0 or later.","what":"CVE-2026-118242 is a high-severity vulnerability in @highcharts grid-lite, published on 28 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-118242 and fix it if it is affected.\n\nWhat it is: CVE-2026-118242 is a high-severity vulnerability in @highcharts grid-lite, published on 28 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-118242 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @highcharts/grid-lite (npm): affected from 2.3.0; fixed in 3.2.0\n- @highcharts/grid-lite (npm): affected from 2.3.0; fixed in 3.2.0\n- @highcharts/grid-pro (npm): affected from 2.3.0; fixed in 3.2.0\n- @highcharts/grid-pro (npm): affected from 2.3.0; fixed in 3.2.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-118242/ (Markdown: https://insights.sbomify.com/CVE-2026-118242/index.md)","id":"CVE-2026-118242","markdown":"https://insights.sbomify.com/CVE-2026-118242/index.md","name":"CVE-2026-118242","record":{"aliases":["GHSA-6g3c-p4fg-xv47"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/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. From 2.3.0 until 3.2.0, Highcharts Grid creates SVG path elements from rendering.icons object definitions and previously copied every child key with setAttribute. An attacker who controls Grid configuration can supply event-handler attribute names in an icon definition. Because custom icons override built-ins, the attacker can replace default sort or pagination icons, and script runs in the hosting page origin when a user hovers over or activates the affected icon. This issue is fixed in 3.2.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 Grid: custom icon definition objects written with raw `setAttribute` on `\u003cpath\u003e`","id":"CVE-2026-118242","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"Highcharts Dashboards: `__proto__` data table id writes sync listeners to `Object.prototype`","id":"CVE-2026-118243"},"packages":[{"ecosystem":"npm","fixed":["3.2.0"],"introduced":["2.3.0"],"last_affected":[],"package":"@highcharts/grid-lite","purl":null,"source":"GHSA-6g3c-p4fg-xv47"},{"ecosystem":"npm","fixed":["3.2.0"],"introduced":["2.3.0"],"last_affected":[],"package":"@highcharts/grid-lite","purl":"pkg:npm/%40highcharts/grid-lite","source":"GHSA-6g3c-p4fg-xv47"},{"ecosystem":"npm","fixed":["3.2.0"],"introduced":["2.3.0"],"last_affected":[],"package":"@highcharts/grid-pro","purl":null,"source":"GHSA-6g3c-p4fg-xv47"},{"ecosystem":"npm","fixed":["3.2.0"],"introduced":["2.3.0"],"last_affected":[],"package":"@highcharts/grid-pro","purl":"pkg:npm/%40highcharts/grid-pro","source":"GHSA-6g3c-p4fg-xv47"}],"prev":{"headline":"JoomSport \u003c= 5.7.11 - Authenticated (Contributor+) SQL Injection via 'team_id' Shortcode Attribute","id":"CVE-2026-118192"},"products":["grid-lite","grid-pro","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","highcharts"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-118242/"}