Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.openrefine.dependencies/butterfly
  4. ›
  5. GHSA-mpcw-3j5p-p99x

GHSA-mpcw-3j5p-p99x: Butterfly's parseJSON, getJSON functions eval malicious input, leading to remote code execution (RCE)

October 24, 2024

Usage of the Butterfly.prototype.parseJSON or getJSON functions on an attacker-controlled crafted input string allows the attacker to execute arbitrary JavaScript code on the server.

Since Butterfly JavaScript code has access to Java classes, it can run arbitrary programs.

References

  • github.com/OpenRefine/simile-butterfly
  • github.com/OpenRefine/simile-butterfly/commit/2ad1fa4cd8afe3c920c8e6e04fe7a7df5cf8294e
  • github.com/OpenRefine/simile-butterfly/security/advisories/GHSA-mpcw-3j5p-p99x
  • github.com/advisories/GHSA-mpcw-3j5p-p99x

Code Behaviors & Features

Detect and mitigate GHSA-mpcw-3j5p-p99x with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.2.6

Fixed versions

  • 1.2.6

Solution

Upgrade to version 1.2.6 or above.

Weakness

  • CWE-185: Incorrect Regular Expression
  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

maven/org.openrefine.dependencies/butterfly/GHSA-mpcw-3j5p-p99x.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:30 +0000.