Skip to content

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

MediumCVSS 6.9 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/openrefine(Debian 12) < 3.6.2-2+deb12u3; = 3.6.2-2; = 3.6.2-2+deb12u1; = 3.6.2-2+deb12u2 3.6.2-2+deb12u3 Fixed
debian/openrefine(Debian 13) < 3.8.7-1 3.8.7-1 Fixed
OpenRefine < 3.8.3; = < 3.8.3 3.8.3 Fixed
org.openrefine/openrefine(Maven) < 3.8.3; = 3.6-beta1; = 3.6-beta2; = 3.6-rc1 +12 more 3.8.3 Fixed
ubuntu/openrefine(Ubuntu 22.04) < 3.5.2-1ubuntu0.1~esm1 3.5.2-1ubuntu0.1~esm1 Fixed
ubuntu/openrefine(Ubuntu 24.04) < 3.7.7-1ubuntu0.1~esm1 3.7.7-1ubuntu0.1~esm1 Fixed

Affected products

ProductAffected versionsFixed in
org.openrefine/openrefine(Maven) < 3.8.3 3.8.3
org.openrefine/openrefine(Maven) = 3.6-beta1 No fix listed
org.openrefine/openrefine(Maven) = 3.6-beta2 No fix listed
org.openrefine/openrefine(Maven) = 3.6-rc1 No fix listed
org.openrefine/openrefine(Maven) = 3.6.0 No fix listed
org.openrefine/openrefine(Maven) = 3.6.1 No fix listed
org.openrefine/openrefine(Maven) = 3.6.2 No fix listed
org.openrefine/openrefine(Maven) = 3.7-beta1 No fix listed
org.openrefine/openrefine(Maven) = 3.7-beta2 No fix listed
org.openrefine/openrefine(Maven) = 3.7.0 No fix listed
org.openrefine/openrefine(Maven) = 3.7.2 No fix listed
org.openrefine/openrefine(Maven) = 3.8-beta1 No fix listed
org.openrefine/openrefine(Maven) = 3.8-beta5 No fix listed
org.openrefine/openrefine(Maven) = 3.8.0 No fix listed
org.openrefine/openrefine(Maven) = 3.8.1 No fix listed
org.openrefine/openrefine(Maven) = 3.8.2 No fix listed
debian/openrefine(Debian:12) < 3.6.2-2+deb12u3 3.6.2-2+deb12u3
debian/openrefine(Debian:12) = 3.6.2-2 No fix listed
debian/openrefine(Debian:12) = 3.6.2-2+deb12u1 No fix listed
debian/openrefine(Debian:12) = 3.6.2-2+deb12u2 No fix listed
debian/openrefine(Debian:13) < 3.8.7-1 3.8.7-1
ubuntu/openrefine(Ubuntu:22.04) < 3.5.2-1ubuntu0.1~esm1 3.5.2-1ubuntu0.1~esm1
OpenRefine = < 3.8.3 No fix listed
OpenRefine < 3.8.3 3.8.3
ubuntu/openrefine(Ubuntu:24.04) < 3.7.7-1ubuntu0.1~esm1 3.7.7-1ubuntu0.1~esm1

References