CVE-2020-4046

Source
https://cve.org/CVERecord?id=CVE-2020-4046
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-4046.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-4046
Aliases
Downstream
Published
2020-06-12T16:15:10Z
Modified
2026-10-24T10:50:39Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

In affected versions of WordPress, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. 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).

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "8.0"
                        },
                        {
                            "last_affected":  "8.0"
                        },
                        {
                            "introduced":  "9.0"
                        },
                        {
                            "last_affected":  "9.0"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "debian:debian_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "31"
                        },
                        {
                            "last_affected":  "31"
                        },
                        {
                            "introduced":  "32"
                        },
                        {
                            "last_affected":  "32"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "fedoraproject:fedora"
        }
    ]
}
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
Introduced
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.7"
                },
                {
                    "fixed":  "3.7.34"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.8"
                },
                {
                    "fixed":  "3.8.34"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.9"
                },
                {
                    "fixed":  "3.9.32"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.0"
                },
                {
                    "fixed":  "4.0.31"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.1"
                },
                {
                    "fixed":  "4.1.31"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.2"
                },
                {
                    "fixed":  "4.2.28"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.3"
                },
                {
                    "fixed":  "4.3.24"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.4"
                },
                {
                    "fixed":  "4.4.23"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.5"
                },
                {
                    "fixed":  "4.5.22"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.6"
                },
                {
                    "fixed":  "4.6.19"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.7"
                },
                {
                    "fixed":  "4.7.18"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.8"
                },
                {
                    "fixed":  "4.8.14"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.9"
                },
                {
                    "fixed":  "4.9.15"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.0"
                },
                {
                    "fixed":  "5.0.10"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.1"
                },
                {
                    "fixed":  "5.1.6"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.2"
                },
                {
                    "fixed":  "5.2.7"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.3.0"
                },
                {
                    "fixed":  "5.3.4"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.4"
                },
                {
                    "fixed":  "5.4.2"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-4046.json"

Git / github.com/wordpress/wordpress-develop

Affected ranges

Type
GIT
Repo
https://github.com/wordpress/wordpress-develop
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
Introduced
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.7"
                },
                {
                    "fixed":  "3.7.34"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.8"
                },
                {
                    "fixed":  "3.8.34"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.9"
                },
                {
                    "fixed":  "3.9.32"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.0"
                },
                {
                    "fixed":  "4.0.31"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.1"
                },
                {
                    "fixed":  "4.1.31"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.2"
                },
                {
                    "fixed":  "4.2.28"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.3"
                },
                {
                    "fixed":  "4.3.24"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.4"
                },
                {
                    "fixed":  "4.4.23"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.5"
                },
                {
                    "fixed":  "4.5.22"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.6"
                },
                {
                    "fixed":  "4.6.19"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.7"
                },
                {
                    "fixed":  "4.7.18"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.8"
                },
                {
                    "fixed":  "4.8.14"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.9"
                },
                {
                    "fixed":  "4.9.15"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.0"
                },
                {
                    "fixed":  "5.0.10"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.1"
                },
                {
                    "fixed":  "5.1.6"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.2"
                },
                {
                    "fixed":  "5.2.7"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.3.0"
                },
                {
                    "fixed":  "5.3.4"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "5.4"
                },
                {
                    "fixed":  "5.4.2"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-4046.json"