CVE catalog

CVE-2020-4049

wordpress: CVE-2020-4049

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
2.53% · Oct 25, 2026

In affected versions of WordPress, when uploading themes, the name of the theme folder can be crafted in a way that could lead to JavaScript execution in /wp-admin on the themes page. This does require an admin to upload the theme, and is low severity self-XSS. 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).

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianwordpresssid7.1.3+dfsg1-1fixed
Debianwordpressforky7.1.3+dfsg1-1fixed
Debianwordpresstrixie6.8.7+dfsg1-0+deb13u1fixed
Debianwordpresstrixie-security6.8.10+dfsg1-0+deb13u1fixed
Debianwordpressbookworm6.1.9+dfsg1-0+deb12u1fixed
Debianwordpressbookworm-security6.1.9+dfsg1-0+deb12u1fixed
Ubuntuwordpress16.044.3+dfsg-1vulnerable
Ubuntuwordpress16.044.3.1+dfsg-1vulnerable
Ubuntuwordpress16.044.4+dfsg-1vulnerable
Ubuntuwordpress16.044.4.1+dfsg-1vulnerable
Ubuntuwordpress16.044.4.2+dfsg-1vulnerable
Ubuntuwordpress16.044.4.2+dfsg-1ubuntu1vulnerable
Ubuntuwordpress18.044.8.2+dfsg-2vulnerable
Ubuntuwordpress18.044.8.3+dfsg-1vulnerable
Ubuntuwordpress18.044.9.1+dfsg-1vulnerable
Ubuntuwordpress18.044.9.2+dfsg-1vulnerable
Ubuntuwordpress18.044.9.4+dfsg-1vulnerable
Ubuntuwordpress18.044.9.5+dfsg1-1vulnerable
Ubuntuwordpress20.045.2.2+dfsg1-1vulnerable
Ubuntuwordpress20.045.2.4+dfsg1-1vulnerable
Ubuntuwordpress20.045.3.2+dfsg1-1vulnerable
Ubuntuwordpress20.045.3.2+dfsg1-1ubuntu1vulnerable
Ubuntuwordpress22.045.7.1+dfsg1-2ubuntu1vulnerable
Ubuntuwordpress22.045.8.1+dfsg1-2ubuntu1vulnerable
Ubuntuwordpress22.045.8.2+dfsg1-1ubuntu1vulnerable
Ubuntuwordpress22.045.8.3+dfsg1-1ubuntu1vulnerable
Ubuntuwordpress22.045.8.3+dfsg1-1ubuntu1.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianwordpresssourcesid5.4.2+dfsg1-1not yet assignedNot reported[962685]
Debianwordpresssourceforky5.4.2+dfsg1-1not yet assignedNot reported[962685]
Debianwordpresssourcetrixie5.4.2+dfsg1-1not yet assignedNot reported[962685]
Debianwordpresssourcebookworm5.4.2+dfsg1-1not yet assignedNot reported[962685]

[Debian bug #962685]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [wordpress]Unknown
    Details (4)
    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

  • Source package: [wordpress]

    Details (4)
    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

  • Source package: [wordpress]

    Details (4)
    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

  • Source package: [wordpress]

    Details (4)
    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

  • Source package: [wordpress]

    Details (4)
    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

    • 6.1.9+dfsg1-0+deb12u1 · all · bookworm-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · bookworm; dsa · wordpress · debian · 12

[Debian 13 (Trixie)]

  • [wordpress]Unknown
    Details (6)
    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.10+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.6+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

  • Source package: [wordpress]

    Details (6)
    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.10+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.6+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

  • Source package: [wordpress]

    Details (6)
    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.10+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.6+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

  • Source package: [wordpress]

    Details (6)
    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.10+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.6+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

  • Source package: [wordpress]

    Details (6)
    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.3+dfsg1-0+deb13u1 · all · trixie

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.10+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.6+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

    • 6.8.7+dfsg1-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 5.4.2+dfsg1-1

      dsa · wordpress · debian · 13

Observed:

References