Skip to content
Heist/ feed
Back to feed
Medium

Cross-site Scripting (XSS)

Type: advisorySources: OSV

The package smoothie from 1.31.0 and before 1.36.1 are vulnerable to Cross-site Scripting (XSS) due to improper user input sanitization in strokeStyle and tooltipLabel properties. Exploiting this vulnerability is possible when the user can control these properties.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-25929
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 19:16 UTC · Revision 1

Source evidence

Cross-site Scripting (XSS)

core-osv · Original source

Published 21 Dec 2022, 05:15 UTC

The package smoothie from 1.31.0 and before 1.36.1 are vulnerable to Cross-site Scripting (XSS) due to improper user input sanitization in strokeStyle and tooltipLabel properties. Exploiting this vulnerability is possible when the user can control these properties.

osv:CVE-2022-25929
Complete source record
{
  "id": "a50091ccfd30296f6ab1c831530777872c631bb4e945be7720141bd39d07cd88",
  "url": "https://osv.dev/vulnerability/CVE-2022-25929",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Cross-site Scripting (XSS)",
    "summary": "The package smoothie from 1.31.0 and before 1.36.1 are vulnerable to Cross-site Scripting (XSS) due to improper user input sanitization in strokeStyle and tooltipLabel properties. Exploiting this vulnerability is possible when the user can control these properties.",
    "evidence": "osv:CVE-2022-25929",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-25929",
      "aliases": [
        "CVE-2022-25929",
        "GHSA-g662-qq45-ppwm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/joewalnes/smoothie",
              "type": "GIT",
              "events": [
                {
                  "introduced": "18155960fee032ea7a7059d08e2667a612dbfd92"
                },
                {
                  "fixed": "e9d6c5f579232d6cbacaf9eeca07e0408fd20e33"
                },
                {
                  "fixed": "8e0920d50da82f4b6e605d56f41b69fbb9606a98"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:smoothiecharts:smoothie_charts:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "1.31.0"
                      },
                      {
                        "fixed": "1.36.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8e0920d50da82f4b6e605d56f41b69fbb9606a98"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.33.0",
            "1.36.0",
            "1.35.0",
            "1.34.0",
            "1.32.0",
            "1.31.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25929.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.557394910Z",
      "provider": "osv",
      "references": [
        "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-3177369",
        "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-3177368",
        "https://security.snyk.io/vuln/SNYK-JS-SMOOTHIE-3177364",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25929.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-25929",
        "https://github.com/joewalnes/smoothie/commit/8e0920d50da82f4b6e605d56f41b69fbb9606a98",
        "https://github.com/joewalnes/smoothie/pull/147"
      ],
      "provider_metadata": {
        "cna_assigner": "snyk",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25929.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-25929",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520201,
  "published_at": "2022-12-21T05:15:11.41+00:00"
}