Vulnerability · Published Oct 24, 2024 · Assigned by GitHub_M

CVE-2024-47880OpenRefine has a reflected cross-site scripting vulnerability from POST request in ExportRowsCommand

High 8.1

In plain English

A high-severity cross-site scripting in OpenRefine from OpenRefine. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.4%top 68.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

OpenRefine is a free, open source tool for working with messy data. Prior to version 3.8.3, the `export-rows` command can be used in such a way that it reflects part of the request verbatim, with a Content-Type header also taken from the request. An attacker could lead a user to a malicious page that submits a form POST that contains embedded JavaScript code. This code would then be included in the response, along with an attacker-controlled `Content-Type` header, and so potentially executed in the victim's browser as if it was part of OpenRefine. The attacker-provided code can do anything the user can do, including deleting projects, retrieving database passwords, or executing arbitrary Jython or Closure expressions, if those extensions are also present. The attacker must know a valid project ID of a project that contains at least one row. Version 3.8.3 fixes the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12openrefine3.6.2-2+deb12u3DEBIAN-CVE-2024-47880
Debian:13openrefine3.8.7-1DEBIAN-CVE-2024-47880
Mavenorg.openrefine:openrefine3.8.3GHSA-79jv-5226-783f

Affected products (as reported)

VendorProductVersions
OpenRefine OpenRefine < 3.8.3

Weakness: CWE-79, CWE-348 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

References