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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | openrefine | 3.6.2-2+deb12u3 | DEBIAN-CVE-2024-47882 |
| Debian:13 | openrefine | 3.8.7-1 | DEBIAN-CVE-2024-47882 |
| Maven | org.openrefine:openrefine | 3.8.3 | GHSA-j8hp-f2mj-586g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-j8hp-f2mj-586g x_refsource_CONFIRM
- https://github.com/OpenRefine/OpenRefine/commit/85594e75e7b36025f7b6a67dcd3ec253c5dff8c2 x_refsource_MISC
- https://github.com/OpenRefine/OpenRefine/blob/master/main/webapp/modules/core/error.vt#L52-L53 x_refsource_MISC