CVE-2020-11026: In affected versions of WordPress, files with a specially crafted name when uploaded to the Media section can lead to script execution upon accessing the file.

Medium CVSS 5.4

CVE id
CVE-2020-11026
Published
Last modified

Affected packages

PackageAffected versionsFixed in
WordPress
Runtimes and servers
>= 3.7, < 3.7.33
>= 3.8, < 3.8.33
>= 3.9, < 3.9.31
>= 4.0, < 4.0.30
>= 4.1, < 4.1.30
>= 4.2, < 4.2.27
>= 4.3, < 4.3.23
>= 4.4, < 4.4.22
>= 4.5, < 4.5.21
>= 4.6, < 4.6.18
>= 4.7, < 4.7.17
>= 4.8, < 4.8.13
>= 4.9, < 4.9.14
>= 5.0, < 5.0.9
>= 5.1, < 5.1.5
>= 5.2, < 5.2.6
>= 5.3, < 5.3.3
>= 5.4, < 5.5
3.7.33, 3.8.33, 3.9.31, 4.0.30, 4.1.30, 4.2.27, 4.3.23, 4.4.22, 4.5.21, 4.6.18, 4.7.17, 4.8.13, 4.9.14, 5.0.9, 5.1.5, 5.2.6, 5.3.3, 5.5

How to fix it

Upgrade WordPress to the fixed release of the line you run: 3.7.33, 3.8.33, 3.9.31, 4.0.30, 4.1.30, 4.2.27, 4.3.23, 4.4.22, 4.5.21, 4.6.18, 4.7.17, 4.8.13, 4.9.14, 5.0.9, 5.1.5, 5.2.6, 5.3.3, 5.5.

wp core version
  • Update WordPress core to the patched release (Dashboard > Updates, wp core update, or the wordpress image tag).

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

In affected versions of WordPress, files with a specially crafted name when uploaded to the Media section can lead to script execution upon accessing the file. This requires an authenticated user with privileges to upload files. This has been patched in version 5.4.1, along with all the previously affected versions via a minor release (5.3.3, 5.2.6, 5.1.5, 5.0.9, 4.9.14, 4.8.13, 4.7.17, 4.6.18, 4.5.21, 4.4.22, 4.3.23, 4.2.27, 4.1.30, 4.0.30, 3.9.31, 3.8.33, 3.7.33).

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.