Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for @carbon/charts-react by IBM

    CVE-2026-94402 (GCVE-0-2026-94402)

    Vulnerability from nvd – Published: 2026-10-20 21:31 – Updated: 2026-10-20 21:31
    VLAI
    Title
    IBM vulnerable to cross-site scripting (XSS) via unsanitized title truncation
    Summary
    IBM Carbon Charts 0.4.0 through 1.27.19 is vulnerable to cross-site scripting. The MeterChart component's Title.truncateTitle() function re-inserts a substring of user-supplied label text into the DOM via an unsanitized innerHTML write when the title exceeds the available container width. A remote attacker could exploit this vulnerability to execute arbitrary JavaScript in the victim's browser session.
    CWE
    • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
    Assigner
    ibm CNA under the mitre root
    CNA scorecard B 88/100 over 1289 records in the last 180 days details
    References
    URL Tags
    https://www.ibm.com/support/pages/node/7291785 vendor-advisorypatch
    Impacted products
    Vendor Product Version
    IBM @carbon/charts Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carbon_charts:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carbon_charts:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    IBM @carbon/charts-react Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carboncharts_react:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carboncharts_react:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    IBM @carbon/charts-angular Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carboncharts_angular:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carboncharts_angular:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    IBM @carbon/charts-vue Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carboncharts_vue:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carboncharts_vue:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    IBM @carbon/charts-svelte Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carboncharts_svelte:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carboncharts_svelte:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:ibm:carbon_charts:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carbon_charts:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:ibm:carboncharts_react:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carboncharts_react:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts-react",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:ibm:carboncharts_angular:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carboncharts_angular:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts-angular",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:ibm:carboncharts_vue:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carboncharts_vue:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts-vue",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:ibm:carboncharts_svelte:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carboncharts_svelte:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts-svelte",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eIBM Carbon Charts 0.4.0 through 1.27.19 is vulnerable to cross-site scripting. The MeterChart component\u0027s Title.truncateTitle() function re-inserts a substring of user-supplied label text into the DOM via an unsanitized innerHTML write when the title exceeds the available container width. A remote attacker could exploit this vulnerability to execute arbitrary JavaScript in the victim\u0027s browser session.\u003c/p\u003e"
                }
              ],
              "value": "IBM Carbon Charts 0.4.0 through 1.27.19 is vulnerable to cross-site scripting. The MeterChart component\u0027s Title.truncateTitle() function re-inserts a substring of user-supplied label text into the DOM via an unsanitized innerHTML write when the title exceeds the available container width. A remote attacker could exploit this vulnerability to execute arbitrary JavaScript in the victim\u0027s browser session."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.1,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-79",
                  "description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-20T21:31:46.027Z",
            "orgId": "9a959283-ebb5-44b6-b705-dcc2bbced522",
            "shortName": "ibm"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory",
                "patch"
              ],
              "url": "https://www.ibm.com/support/pages/node/7291785"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003ePlease update the library to the\u00a0latest version\u00a0available on npm:\u00a0\u003ca href=\"https://www.npmjs.com/package/@carbon/charts\" rel=\"nofollow\"\u003ehttps://www.npmjs.com/package/@carbon/charts\u003c/a\u003e\u003c/p\u003e"
                }
              ],
              "value": "Please update the library to the\u00a0latest version\u00a0available on npm:\u00a0 https://www.npmjs.com/package/@carbon/charts"
            }
          ],
          "title": "IBM vulnerable to cross-site scripting (XSS) via unsanitized title truncation",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eIf an immediate upgrade to v1.27.20 is not possible, consuming applications should sanitize all user-influenced strings before passing them as data[0].group (or any label field) to a MeterChart. A DOMPurify call with ALLOWED_TAGS: [] applied to the value before it reaches the chart data will neutralize the payload. This is a temporary workaround only \u2014 upgrading to v1.27.20 remains the recommended remediation.\u003c/p\u003e"
                }
              ],
              "value": "If an immediate upgrade to v1.27.20 is not possible, consuming applications should sanitize all user-influenced strings before passing them as data[0].group (or any label field) to a MeterChart. A DOMPurify call with ALLOWED_TAGS: [] applied to the value before it reaches the chart data will neutralize the payload. This is a temporary workaround only \u2014 upgrading to v1.27.20 remains the recommended remediation."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "9a959283-ebb5-44b6-b705-dcc2bbced522",
        "assignerShortName": "ibm",
        "cveId": "CVE-2026-94402",
        "datePublished": "2026-10-20T21:31:46.027Z",
        "dateReserved": "2026-09-21T13:43:42.740Z",
        "dateUpdated": "2026-10-20T21:31:46.027Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-94402 (GCVE-0-2026-94402)

    Vulnerability from cvelistv5 – Published: 2026-10-20 21:31 – Updated: 2026-10-20 21:31
    VLAI
    Title
    IBM vulnerable to cross-site scripting (XSS) via unsanitized title truncation
    Summary
    IBM Carbon Charts 0.4.0 through 1.27.19 is vulnerable to cross-site scripting. The MeterChart component's Title.truncateTitle() function re-inserts a substring of user-supplied label text into the DOM via an unsanitized innerHTML write when the title exceeds the available container width. A remote attacker could exploit this vulnerability to execute arbitrary JavaScript in the victim's browser session.
    CWE
    • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
    Assigner
    ibm CNA under the mitre root
    CNA scorecard B 88/100 over 1289 records in the last 180 days details
    References
    URL Tags
    https://www.ibm.com/support/pages/node/7291785 vendor-advisorypatch
    Impacted products
    Vendor Product Version
    IBM @carbon/charts Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carbon_charts:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carbon_charts:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    IBM @carbon/charts-react Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carboncharts_react:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carboncharts_react:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    IBM @carbon/charts-angular Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carboncharts_angular:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carboncharts_angular:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    IBM @carbon/charts-vue Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carboncharts_vue:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carboncharts_vue:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    IBM @carbon/charts-svelte Affected: 0.4.0 , ≤ 1.27.19 (semver)
        cpe:2.3:a:ibm:carboncharts_svelte:0.4.0:*:*:*:*:*:*:*
        cpe:2.3:a:ibm:carboncharts_svelte:1.27.19:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:ibm:carbon_charts:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carbon_charts:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:ibm:carboncharts_react:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carboncharts_react:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts-react",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:ibm:carboncharts_angular:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carboncharts_angular:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts-angular",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:ibm:carboncharts_vue:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carboncharts_vue:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts-vue",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:ibm:carboncharts_svelte:0.4.0:*:*:*:*:*:*:*",
                "cpe:2.3:a:ibm:carboncharts_svelte:1.27.19:*:*:*:*:*:*:*"
              ],
              "product": "@carbon/charts-svelte",
              "vendor": "IBM",
              "versions": [
                {
                  "lessThanOrEqual": "1.27.19",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eIBM Carbon Charts 0.4.0 through 1.27.19 is vulnerable to cross-site scripting. The MeterChart component\u0027s Title.truncateTitle() function re-inserts a substring of user-supplied label text into the DOM via an unsanitized innerHTML write when the title exceeds the available container width. A remote attacker could exploit this vulnerability to execute arbitrary JavaScript in the victim\u0027s browser session.\u003c/p\u003e"
                }
              ],
              "value": "IBM Carbon Charts 0.4.0 through 1.27.19 is vulnerable to cross-site scripting. The MeterChart component\u0027s Title.truncateTitle() function re-inserts a substring of user-supplied label text into the DOM via an unsanitized innerHTML write when the title exceeds the available container width. A remote attacker could exploit this vulnerability to execute arbitrary JavaScript in the victim\u0027s browser session."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.1,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-79",
                  "description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-20T21:31:46.027Z",
            "orgId": "9a959283-ebb5-44b6-b705-dcc2bbced522",
            "shortName": "ibm"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory",
                "patch"
              ],
              "url": "https://www.ibm.com/support/pages/node/7291785"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003ePlease update the library to the\u00a0latest version\u00a0available on npm:\u00a0\u003ca href=\"https://www.npmjs.com/package/@carbon/charts\" rel=\"nofollow\"\u003ehttps://www.npmjs.com/package/@carbon/charts\u003c/a\u003e\u003c/p\u003e"
                }
              ],
              "value": "Please update the library to the\u00a0latest version\u00a0available on npm:\u00a0 https://www.npmjs.com/package/@carbon/charts"
            }
          ],
          "title": "IBM vulnerable to cross-site scripting (XSS) via unsanitized title truncation",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eIf an immediate upgrade to v1.27.20 is not possible, consuming applications should sanitize all user-influenced strings before passing them as data[0].group (or any label field) to a MeterChart. A DOMPurify call with ALLOWED_TAGS: [] applied to the value before it reaches the chart data will neutralize the payload. This is a temporary workaround only \u2014 upgrading to v1.27.20 remains the recommended remediation.\u003c/p\u003e"
                }
              ],
              "value": "If an immediate upgrade to v1.27.20 is not possible, consuming applications should sanitize all user-influenced strings before passing them as data[0].group (or any label field) to a MeterChart. A DOMPurify call with ALLOWED_TAGS: [] applied to the value before it reaches the chart data will neutralize the payload. This is a temporary workaround only \u2014 upgrading to v1.27.20 remains the recommended remediation."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "9a959283-ebb5-44b6-b705-dcc2bbced522",
        "assignerShortName": "ibm",
        "cveId": "CVE-2026-94402",
        "datePublished": "2026-10-20T21:31:46.027Z",
        "dateReserved": "2026-09-21T13:43:42.740Z",
        "dateUpdated": "2026-10-20T21:31:46.027Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }