yaireo/tagify · Security
tagify can pass a malicious placeholder to initiate the cross-site scripting (XSS) payload
- GHSA ID
- GHSA-pxpf-v376-7xx5
- CVE ID
- CVE-2022-25854
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25854 ↗
- https://github.com/yairEO/tagify/issues/988 ↗
- https://github.com/yairEO/tagify/commit/198c0451fad188390390395ccfc84ab371def4c7 ↗
- https://github.com/yairEO/tagify/releases/tag/v4.9.8 ↗
- https://snyk.io/vuln/SNYK-JS-YAIREOTAGIFY-2404358 ↗
- https://bsg.tech/blog/cve-2022-25854-stored-xss-in-yaireo-tagify-npm-module/ ↗
- https://github.com/advisories/GHSA-pxpf-v376-7xx5 ↗