CVE-2022-25854
MEDIUM 5.4CVSS 3.1tagify can pass a malicious placeholder to initiate the cross-site scripting (XSS) payload
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.
- Published
- 29 Apr 2022
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-pxpf-v376-7xx5SNYK-JS-YAIREOTAGIFY-2404358
- Sources
- NVDJSONOSV GHSA-pxpf-v376-7xx5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tagify_project | tagifycpe:2.3:a:tagify_project:tagify:*:*:*:*:*:*:*:* |
< 4.9.8 | 4.9.8 |
| OSV | npm | @yaireo/tagify | < 4.9.8 | 4.9.8 |
References
- https://bsg.tech/blog/cve-2022-25854-stored-xss-in-yaireo-tagify-npm-module/ · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/yairEO/tagify/commit/198c0451fad188390390395ccfc84ab371def4c7 · Patch, Third Party Advisory, WEB
- https://github.com/yairEO/tagify/issues/988 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/yairEO/tagify/releases/tag/v4.9.8 · Release Notes, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-YAIREOTAGIFY-2404358 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25854 · ADVISORY
- https://github.com/yairEO/tagify · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 29 Apr 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Apr 2022)