CVE-2024-47880

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-47880
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47880.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-47880
Aliases
Downstream
Published
2024-10-24T20:21:49Z
Modified
2025-10-15T14:55:51.393453Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
OpenRefine has a reflected cross-site scripting vulnerability from POST request in ExportRowsCommand
Details

OpenRefine is a free, open source tool for working with messy data. Prior to version 3.8.3, the export-rows command can be used in such a way that it reflects part of the request verbatim, with a Content-Type header also taken from the request. An attacker could lead a user to a malicious page that submits a form POST that contains embedded JavaScript code. This code would then be included in the response, along with an attacker-controlled Content-Type header, and so potentially executed in the victim's browser as if it was part of OpenRefine. The attacker-provided code can do anything the user can do, including deleting projects, retrieving database passwords, or executing arbitrary Jython or Closure expressions, if those extensions are also present. The attacker must know a valid project ID of a project that contains at least one row. Version 3.8.3 fixes the issue.

References

Affected packages

Git / github.com/OpenRefine/OpenRefine

Affected ranges

Type
GIT
Repo
https://github.com/OpenRefine/OpenRefine
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.1

2.*

2.6-alpha.2
2.6-alpha1
2.6-beta.1
2.6-rc.2
2.7
2.7-rc.1
2.7-rc.2
2.8

3.*

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.*

v2.6-rc1

Database specific

{
    "vanir_signatures": [
        {
            "digest": {
                "line_hashes": [
                    "70741200116215552636185552063441350157",
                    "250578989153400506380281591621571840554",
                    "234825196224379482873151685641821868458",
                    "163240278076324717749431253028938753191"
                ],
                "threshold": 0.9
            },
            "source": "https://github.com/OpenRefine/OpenRefine/commit/d70d9114a8c021a233f0c13c73a0a7784276f2a4",
            "signature_type": "Line",
            "target": {
                "file": "main/src/com/google/refine/RefineServlet.java"
            },
            "deprecated": false,
            "signature_version": "v1",
            "id": "CVE-2024-47880-5d3cb481"
        }
    ]
}

Git / github.com/OpenRefine/OpenRefine

Affected ranges

Type
GIT
Repo
https://github.com/OpenRefine/OpenRefine
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.1

2.*

2.6-alpha.2
2.6-alpha1
2.6-beta.1
2.6-rc.2
2.7
2.7-rc.1
2.7-rc.2
2.8

3.*

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.*

v2.6-rc1

Database specific

{
    "vanir_signatures": [
        {
            "digest": {
                "line_hashes": [
                    "70741200116215552636185552063441350157",
                    "250578989153400506380281591621571840554",
                    "234825196224379482873151685641821868458",
                    "163240278076324717749431253028938753191"
                ],
                "threshold": 0.9
            },
            "source": "https://github.com/OpenRefine/OpenRefine/commit/d70d9114a8c021a233f0c13c73a0a7784276f2a4",
            "signature_type": "Line",
            "target": {
                "file": "main/src/com/google/refine/RefineServlet.java"
            },
            "deprecated": false,
            "signature_version": "v1",
            "id": "CVE-2024-47880-e5b38fb3"
        }
    ]
}