{"id":"CVE-2024-47879","published":"2024-10-24T20:17:55Z","modified":"2024-10-25T15:24:58Z","title":"OpenRefine's PreviewExpressionCommand, which is eval, lacks protection against cross-site request forgery (CSRF)","vendor":"OpenRefine","product":"OpenRefine","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00428,"percentile":0.37898,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-3jm4-c6qf-jrh3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenRefine/OpenRefine/commit/090924ca923489b6c94397cf1f5df7f7f78f0126","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":7.58},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"openrefine","affectedVersions":[{"vendor":"OpenRefine","product":"OpenRefine","versions":["< 3.8.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-10-25T15:23:58.665357Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.openrefine:main","vulnerableRanges":["<3.8.3"],"patched":["3.8.3"],"from":["GHSA-3jm4-c6qf-jrh3"],"provenance":"source"}],"summary":{"text":"The preview-expression command in OpenRefine, a free open source tool for working with messy data, lacks cross-site request forgery protection in versions prior to 3.8.3. An attacker who knows a valid project ID for a project containing at least one row can get a victim who opens a malicious webpage to trigger execution of an attacker-controlled expression containing arbitrary Clojure or Python code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:58Z"},"euvd":{"id":"EUVD-2024-2917","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openrefine-cve-2024-47879","children":[{"from":"CVE-2024-47879","to":"CVE-2024-47880","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["main/src/com/google/refine/commands/project/ExportRowsCommand.java"],"commits":["https://github.com/OpenRefine/OpenRefine/commit/090924ca923489b6c94397cf1f5df7f7f78f0126","https://github.com/OpenRefine/OpenRefine/commit/8060477fa53842ebabf43b63e039745932fa629d"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2018-19859","published":"2018-12-05","fixed":"3.2-beta","kev":false},{"cve":"CVE-2022-41401","published":"2023-08-04","fixed":"3.6.0","kev":false},{"cve":"CVE-2023-37476","published":"2023-07-17","fixed":"3.7.4","kev":false,"link":{"from":"CVE-2023-37476","to":"CVE-2024-47879","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.openrefine:main","fromFixed":"3.7.4","toFixed":"3.8.3","daysApart":465}]}},{"cve":"CVE-2024-47879","published":"2024-10-24","fixed":"3.8.3","kev":false}],"package":"Maven:org.openrefine:main"}}