Skip to content

CVE-2024-47882 OpenRefine's error page lacks escaping, leading to potential Cross-site Scripting on import of malicious project

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

Description

OpenRefine is a free, open source tool for working with messy data. Prior to version 3.8.3, the built-in "Something went wrong!" error page includes the exception message and exception traceback without escaping HTML tags, enabling injection into the page if an attacker can reliably produce an error with an attacker-influenced message. It appears that the only way to reach this code in OpenRefine itself is for an attacker to somehow convince a victim to import a malicious file, which may be difficult. However, out-of-tree extensions may add their own calls to respondWithErrorPage. Version 3.8.3 has a fix for this 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