Vulnerability · Published Oct 24, 2024 · Assigned by GitHub_M

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

Medium 5.9

In plain English

A medium-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.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.5%top 56.3% 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 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12openrefine3.6.2-2+deb12u3DEBIAN-CVE-2024-47882
Debian:13openrefine3.8.7-1DEBIAN-CVE-2024-47882
Mavenorg.openrefine:openrefine3.8.3GHSA-j8hp-f2mj-586g

Affected products (as reported)

VendorProductVersions
OpenRefine OpenRefine < 3.8.3

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

References