CVE-2019-15532: CyberChef cross-site scripting in Text Encoding Brute Force

CVE-2019-15532 · Severity: low · CVSS 3 · Published 2019-08-27

CyberChef is a web-based toolkit used for encoding, decoding, and data transformation tasks. A cross-site scripting vulnerability in the Text Encoding Brute Force feature allows attackers to inject and execute arbitrary JavaScript code in a user's browser by crafting malicious input, potentially leading to session hijacking, credential theft, or malware distribution.

Technologies: GCHQ CyberChef. Vendors: GCHQ.

Quick answers

Is CVE-2019-15532 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-15532 being exploited in the wild.
How severe is CVE-2019-15532?
Low severity, with a CVSS score of 3, published 27 August 2019.
Which products and versions are affected?
GCHQ CyberChef prior to 8.31.3.
Is there a fix for CVE-2019-15532?
A patch was published on 2019-08-27: Fixed in version 8.31.3 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2019-15532 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2019-15532?
Check whether you run GCHQ CyberChef at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a reflected cross-site scripting (XSS) flaw in the Text Encoding Brute Force functionality. The vulnerable component concatenates user-supplied input directly into HTML table rows without proper sanitization or escaping. An attacker can craft input containing JavaScript payloads (e.g., <script>alert('XSS')</script>) that execute in the victim's browser when processed by the feature. This requires user interaction (victim must use the affected feature with attacker-controlled input) over a network vector. The vulnerability was fixed in version 8.31.3; users should upgrade immediately.

Affected products

  • GCHQ CyberChef prior to 8.31.3

Identifiers

  • CVE-2019-15532
  • GHSA-jp6r-xcjj-5h7r

Timeline

  • 2019-04-12: disclosed: Issue #539 reported on GitHub
  • 2019-08-27: patched: Fixed in version 8.31.3
  • 2019-08-27: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.