GHSA-pxpf-v376-7xx5
tagify can pass a malicious placeholder to initiate the cross-site scripting (XSS) payload
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @yaireo/tagify | < 4.9.8 | 4.9.8 |
Details
As written in the advisory (Markdown source, shown as plain text).
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 cross-site scripting (XSS) payload.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-25854
- 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
- https://github.com/yairEO/tagify
- https://github.com/yairEO/tagify/releases/tag/v4.9.8
- https://snyk.io/vuln/SNYK-JS-YAIREOTAGIFY-2404358