CVE-2020-4047

Source
https://cve.org/CVERecord?id=CVE-2020-4047
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-4047.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-4047
Aliases
Downstream
Related
  • GHSA-8q2w-5m27-wm27
Published
2020-06-12T16:15:10.543Z
Modified
2026-03-13T22:11:52.413404Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment pages in a certain way. This can lead to script execution in the context of a higher privileged user when the file is viewed by them. This has been patched in version 5.4.2, along with all the previously affected versions via a minor release (5.3.4, 5.2.7, 5.1.6, 5.0.10, 4.9.15, 4.8.14, 4.7.18, 4.6.19, 4.5.22, 4.4.23, 4.3.24, 4.2.28, 4.1.31, 4.0.31, 3.9.32, 3.8.34, 3.7.34).

References

Affected packages

Git / github.com/wordpress/wordpress

Affected ranges

Type
GIT
Repo
https://github.com/wordpress/wordpress
Events
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "3.7"
        },
        {
            "fixed": "3.7.34"
        },
        {
            "introduced": "3.8"
        },
        {
            "fixed": "3.8.34"
        },
        {
            "introduced": "3.9"
        },
        {
            "fixed": "3.9.32"
        },
        {
            "introduced": "4.0"
        },
        {
            "fixed": "4.0.31"
        },
        {
            "introduced": "4.1"
        },
        {
            "fixed": "4.1.31"
        },
        {
            "introduced": "4.2"
        },
        {
            "fixed": "4.2.28"
        },
        {
            "introduced": "4.3"
        },
        {
            "fixed": "4.3.24"
        },
        {
            "introduced": "4.4"
        },
        {
            "fixed": "4.4.23"
        },
        {
            "introduced": "4.5"
        },
        {
            "fixed": "4.5.22"
        },
        {
            "introduced": "4.6"
        },
        {
            "fixed": "4.6.19"
        },
        {
            "introduced": "4.7"
        },
        {
            "fixed": "4.7.18"
        },
        {
            "introduced": "4.8"
        },
        {
            "fixed": "4.8.14"
        },
        {
            "introduced": "4.9"
        },
        {
            "fixed": "4.9.15"
        },
        {
            "introduced": "5.0"
        },
        {
            "fixed": "5.0.10"
        },
        {
            "introduced": "5.1"
        },
        {
            "fixed": "5.1.6"
        },
        {
            "introduced": "5.2"
        },
        {
            "fixed": "5.2.7"
        },
        {
            "introduced": "5.4"
        },
        {
            "fixed": "5.4.2"
        }
    ]
}
Type
GIT
Repo
https://github.com/wordpress/wordpress-develop
Events
Database specific
{
    "versions": [
        {
            "introduced": "5.3.0"
        },
        {
            "fixed": "5.3.4"
        }
    ]
}

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "32"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "33"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-4047.json"