Skip to content
Heist/ feed
Back to feed
Medium

Cross-site Scripting (XSS)

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-25854
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:09 UTC · Revision 1

Source evidence

Cross-site Scripting (XSS)

core-osv · Original source

Published 29 Apr 2022, 20:00 UTC

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.

osv:CVE-2022-25854
Complete source record
{
  "id": "f760e8516f633f35c9a7eb9767062d877bef725f2514eac934f200cdde6808f5",
  "url": "https://osv.dev/vulnerability/CVE-2022-25854",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Cross-site Scripting (XSS)",
    "summary": "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.",
    "evidence": "osv:CVE-2022-25854",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-25854",
      "aliases": [
        "CVE-2022-25854",
        "GHSA-pxpf-v376-7xx5",
        "SNYK-JS-YAIREOTAGIFY-2404358"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/yaireo/tagify",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "db18415cd35af73008549cdc01710a3eba4844d7"
                },
                {
                  "fixed": "198c0451fad188390390395ccfc84ab371def4c7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tagify_project:tagify:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.9.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "198c0451fad188390390395ccfc84ab371def4c7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "db18415cd35af73008549cdc01710a3eba4844d7"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v4.9.8"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.9.7",
            "v4.9.6",
            "v4.9.5",
            "v4.9.2",
            "v4.9.1",
            "v4.9.0",
            "v4.8.1",
            "v4.8.0",
            "v4.7.2",
            "v4.7.1",
            "v4.7.0",
            "v4.5.0",
            "v4.4.0",
            "v4.3.1",
            "v4.3.0",
            "v4.2.0",
            "v4.1.4",
            "v4.1.3",
            "v4.1.2",
            "v4.1.1",
            "v4.1.0",
            "v4.0.5",
            "v4.0.4",
            "v4.0.3",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v3.25.0",
            "v3.23.1",
            "v3.23.0",
            "v3.22.3",
            "v3.22.2",
            "v3.22.1",
            "v3.22.0",
            "v3.21.4",
            "v3.21.3",
            "v3.21.2",
            "v3.21.1",
            "v3.21.0",
            "v3.20.3",
            "v3.20.2",
            "v3.20.1",
            "v3.20.0",
            "v3.19.7",
            "v3.19.6",
            "v3.19.5",
            "v3.19.4",
            "v3.19.3",
            "v3.19.2",
            "v3.19.1",
            "v3.19.0",
            "v3.18.1",
            "v3.18.0",
            "v3.17.10",
            "v3.17.9",
            "v3.17.8",
            "v3.17.7",
            "v3.17.6",
            "v3.17.5",
            "v3.17.3",
            "v3.17.2",
            "v3.17.1",
            "v3.17.0",
            "v3.16.3",
            "v3.16.2",
            "v3.16.1",
            "v3.15.4",
            "v3.15.3",
            "v3.15.2",
            "v3.15.1",
            "v3.15.0",
            "v3.14.4",
            "v3.14.3",
            "v3.14.2",
            "v3.14.1",
            "v3.14.0",
            "v3.13.1",
            "v3.13.0",
            "v3.12.0",
            "v3.11.4",
            "v3.11.2",
            "v3.11.1",
            "v3.11.0",
            "v3.10.3",
            "v3.10.1",
            "v3.10.0",
            "v3.9.3",
            "v3.9.2",
            "v3.9.1",
            "v3.9.0",
            "v3.7.4",
            "v3.7.3",
            "v3.7.2",
            "v3.7.1",
            "v3.6.10",
            "v3.6.9",
            "v3.6.8",
            "v3.6.7",
            "v3.6.4",
            "v3.6.3",
            "v3.6.2",
            "v3.6.1",
            "v3.5.2",
            "v3.5.0",
            "v3.4.1",
            "v3.4.0",
            "v3.3.1",
            "v3.3.0",
            "v3.2.7",
            "v3.2.6",
            "v3.2.5",
            "v3.2.4",
            "v3.2.3",
            "v3.1.0",
            "v3.0.1",
            "v2.31.4",
            "v2.31.3",
            "v2.31.2",
            "v2.31.1",
            "v2.31.0",
            "v2.30.1",
            "v2.30.0",
            "v2.29.2",
            "v2.29.1",
            "v2.29.0",
            "v2.28.4",
            "v2.28.3",
            "v2.28.2",
            "v2.28.1",
            "v2.28.0",
            "v2.27.0",
            "v2.26.3",
            "v2.26.2",
            "v2.26.1",
            "v2.26.0",
            "v2.25.3",
            "v2.25.1",
            "v2.25.0",
            "v2.24.0",
            "v2.23.4",
            "v2.23.2",
            "v2.23.1",
            "v2.23.0",
            "v2.22.3",
            "v2.22.2",
            "v2.22.1",
            "v2.22.0",
            "v2.21.1",
            "v2.21.0",
            "v2.20.1",
            "v2.20.0",
            "2.19.2",
            "2.19.1",
            "2.19.0",
            "2.18.4",
            "2.18.3",
            "2.18.2",
            "2.18.1",
            "2.18.0",
            "2.17.1",
            "2.17.0",
            "2.16.1",
            "2.16.0",
            "2.15.2",
            "2.15.1",
            "2.15.0",
            "2.14.1",
            "2.14.0",
            "2.13.0",
            "2.12.6",
            "2.12.2",
            "2.12.1",
            "2.11.1",
            "2.11.0",
            "2.10.1",
            "2.10.0",
            "2.9.9",
            "2.9.8",
            "2.9.6",
            "2.9.1",
            "2.9.0",
            "2.8.6",
            "2.8.4",
            "2.8.2",
            "2.8.0",
            "2.7.8",
            "2.7.7",
            "2.7.6",
            "2.7.5",
            "2.7.1",
            "2.6.5",
            "2.6.4",
            "2.6.2",
            "2.6.0",
            "2.5.1",
            "2.5.0",
            "2.3.0",
            "2.2.10",
            "2.1.9",
            "2.1.8",
            "2.1.7",
            "2.1.6",
            "2.1.5",
            "2.1.4",
            "2.1.3",
            "2.1.2",
            "2.1.0",
            "2.0.2",
            "2.0.1",
            "2.0.0",
            "1.3.1",
            "1.0.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25854.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.415295897Z",
      "provider": "osv",
      "references": [
        "https://github.com/yairEO/tagify/releases/tag/v4.9.8",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25854.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-25854",
        "https://snyk.io/vuln/SNYK-JS-YAIREOTAGIFY-2404358",
        "https://github.com/yairEO/tagify/issues/988",
        "https://github.com/yairEO/tagify/commit/198c0451fad188390390395ccfc84ab371def4c7",
        "https://bsg.tech/blog/cve-2022-25854-stored-xss-in-yaireo-tagify-npm-module/"
      ],
      "provider_metadata": {
        "cna_assigner": "snyk",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25854.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-25854",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522083,
  "published_at": "2022-04-29T20:00:19.691+00:00"
}