{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.9.8"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "db18415cd35af73008549cdc01710a3eba4844d7"
            },
            {
              "fixed": "198c0451fad188390390395ccfc84ab371def4c7"
            }
          ],
          "repo": "https://github.com/yaireo/tagify",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "This affects the package @yaireo/tagify before 4.9.8. The package is used for rendering UI components inside the input or text fields, and an attacker can pass a malicious placeholder value to it to fire the XSS payload.",
  "id": "CVE-2022-25854",
  "modified": "2026-03-15T21:46:14.029803895Z",
  "published": "2022-04-29T20:15:07.580Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/yairEO/tagify/releases/tag/v4.9.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://snyk.io/vuln/SNYK-JS-YAIREOTAGIFY-2404358"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/yairEO/tagify/issues/988"
    },
    {
      "type": "FIX",
      "url": "https://bsg.tech/blog/cve-2022-25854-stored-xss-in-yaireo-tagify-npm-module/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/yairEO/tagify/commit/198c0451fad188390390395ccfc84ab371def4c7"
    }
  ],
  "related": [
    "SNYK-JS-YAIREOTAGIFY-2404358"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}