CVE-2019-15532: Cross-Site Scripting in cyberchef

cyberchef Updated 02 Oct 2025

Summary

27/08/2019
Yes i
Moderate
6.1

CVE-2019-15532: Cross-Site Scripting in cyberchef. Affects cyberchef versions < 8.31.3. Fixed in 8.31.3. 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 cyberchef package is an open-source tool used for text encoding, decoding, and analysis. It provides a user-friendly interface for performing various operations on text data. However, versions prior to 8.31.3 are vulnerable to Cross-Site Scripting (XSS) attacks.

Vulnerability Detail

The vulnerability in cyberchef arises from the unsanitized concatenation of the value variable in the HTML code of the 'Text Encoding Brute Force' feature. If an attacker can control this variable through user input, they can inject arbitrary JavaScript code into a victim's browser. This can lead to various malicious activities, such as stealing sensitive information, performing actions on behalf of the victim, or modifying the appearance and behavior of the web page.

How To Fix

Minimum fixed version

8.31.3

This is the first release that contains the fix.

npm install cyberchef@8.31.3

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 to the fixed version of the package to mitigate the risk.

Conclusion

In conclusion, the cyberchef package prior to version 8.31.3 is vulnerable to Cross-Site Scripting (XSS) attacks. It is crucial to update to the fixed version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for cyberchef →

Share this vulnerability

FAQ

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. It occurs when a web application does not properly sanitize user input and includes it in the output HTML.

An attacker can exploit this vulnerability by injecting malicious JavaScript code into the 'Text Encoding Brute Force' feature of cyberchef. If a victim interacts with the manipulated web page, the injected code will execute in their browser, allowing the attacker to perform various malicious actions.

The consequences of this vulnerability can vary depending on the attacker's intentions. They may include stealing sensitive information, such as login credentials or personal data, performing actions on behalf of the victim, or modifying the appearance and behavior of the web page to deceive or manipulate users.

Yes, the vulnerability has been fixed in version 8.31.3 of the cyberchef package. It is crucial to update to this version or a later one to protect against potential attacks.

To update the cyberchef package, you can use the package manager for your specific environment. For example, if you are using npm, you can run the command 'npm update cyberchef' to install the latest version.

Related vulnerabilities

Recent vulnerabilities recorded for cyberchef.

How To Fix

Minimum fixed version

8.31.3

This is the first release that contains the fix.

npm install cyberchef@8.31.3

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