CVE-2022-25854: Cross-Site Scripting (XSS) in @yaireo/tagify

@yaireo/tagify Updated 02 Oct 2025

Summary

30/04/2022
Yes i
Moderate
6.1

CVE-2022-25854: tagify can pass a malicious placeholder to initiate the cross-site scripting (XSS) payload. Affects @yaireo/tagify versions < 4.9.8. Fixed in 4.9.8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The @yaireo/tagify package is an npm package used for rendering UI components inside input or text fields. It provides functionality for creating tags and managing user input. The package is vulnerable to a cross-site scripting (XSS) attack when a malicious placeholder value is passed to it.

Vulnerability Detail

The vulnerability in @yaireo/tagify allows an attacker to pass a malicious placeholder value, which triggers a cross-site scripting (XSS) payload. This can lead to the execution of arbitrary code in the context of the user's browser, potentially compromising sensitive information or performing unauthorized actions. The vulnerability has a CVSS score of 6.1, indicating a moderate severity level.

How To Fix

Minimum fixed version

4.9.8

This is the first release that contains the fix.

npm install @yaireo/tagify@4.9.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update the package to the fixed version to mitigate the risk of XSS attacks.

Conclusion

The @yaireo/tagify package is vulnerable to a cross-site scripting (XSS) attack. To mitigate this vulnerability, it is crucial to update the package to version 4.9.8 or later. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for @yaireo/tagify →

Share this vulnerability

FAQ

@yaireo/tagify is an npm package used for rendering UI components inside input or text fields. It provides functionality for creating tags and managing user input.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to the execution of arbitrary code in the context of the user's browser.

The vulnerability in @yaireo/tagify allows an attacker to execute arbitrary code in the user's browser, potentially compromising sensitive information or performing unauthorized actions.

To fix this vulnerability, update the @yaireo/tagify package to version 4.9.8 or later. This version includes a fix for the XSS vulnerability.

There is no known workaround for this vulnerability. It is essential to update the package to the fixed version to mitigate the risk of XSS attacks.

How To Fix

Minimum fixed version

4.9.8

This is the first release that contains the fix.

npm install @yaireo/tagify@4.9.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback