{"id":"CVE-2024-47879","summary":"OpenRefine's PreviewExpressionCommand, which is eval, lacks protection against cross-site request forgery (CSRF)","details":"OpenRefine is a free, open source tool for working with messy data. Prior to version 3.8.3, lack of cross-site request forgery protection on the `preview-expression` command means that visiting a malicious website could cause an attacker-controlled expression to be executed. The expression can contain arbitrary Clojure or Python code. The attacker must know a valid project ID of a project that contains at least one row, and the attacker must convince the victim to open a malicious webpage. Version 3.8.3 fixes the issue.","aliases":["GHSA-3jm4-c6qf-jrh3"],"modified":"2026-04-12T10:46:37.435127Z","published":"2024-10-24T20:17:55.106Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47879.json","cwe_ids":["CWE-352","CWE-94"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47879.json"},{"type":"ADVISORY","url":"https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-3jm4-c6qf-jrh3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47879"},{"type":"FIX","url":"https://github.com/OpenRefine/OpenRefine/commit/090924ca923489b6c94397cf1f5df7f7f78f0126"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openrefine/openrefine","events":[{"introduced":"0"},{"fixed":"d70d9114a8c021a233f0c13c73a0a7784276f2a4"}]}],"versions":["2.6-beta.1","2.6-rc.2","2.7","2.7-rc.1","2.7-rc.2","2.8","3.0","3.0-beta","3.0-rc.1","3.1","3.1-beta","3.2","3.2-beta","3.3","3.3-beta","3.3-rc1","3.4-beta","3.5-beta1","3.7-beta2","3.8-beta.3","3.8-beta.4","3.8-beta1","3.8-beta2","3.8-beta5","3.8.0","3.8.1","3.8.2","v2.6-rc1"],"database_specific":{"vanir_signatures":[{"deprecated":false,"target":{"file":"main/src/com/google/refine/RefineServlet.java"},"id":"CVE-2024-47879-463f1041","signature_version":"v1","signature_type":"Line","source":"https://github.com/openrefine/openrefine/commit/d70d9114a8c021a233f0c13c73a0a7784276f2a4","digest":{"line_hashes":["70741200116215552636185552063441350157","250578989153400506380281591621571840554","234825196224379482873151685641821868458","163240278076324717749431253028938753191"],"threshold":0.9}}],"vanir_signatures_modified":"2026-04-12T10:46:37Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47879.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L"}]}