Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-29447

Wordpress is an open source CMS. A user with the ability to upload files (like an Author) can exploit an XML parsing issue in the Media Library leading to XXE attacks. This requires WordPress installation to be using PHP 8. Access to internal files is possible in a successful XXE attack. This has been patched in WordPress version 5.7.1, along with the older affected versions via a minor release. We strongly recommend you keep auto-updates enabled.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-29447
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:46 UTC · Revision 1

Source evidence

CVE-2021-29447

core-osv · Original source

Published 15 Apr 2021, 21:15 UTC

Wordpress is an open source CMS. A user with the ability to upload files (like an Author) can exploit an XML parsing issue in the Media Library leading to XXE attacks. This requires WordPress installation to be using PHP 8. Access to internal files is possible in a successful XXE attack. This has been patched in WordPress version 5.7.1, along with the older affected versions via a minor release. We strongly recommend you keep auto-updates enabled.

osv:CVE-2021-29447
Complete source record
{
  "id": "b1329ab484326de9d969a6a3f12094dbed8dac1f1428ebb029fbfcc76073afa0",
  "url": "https://osv.dev/vulnerability/CVE-2021-29447",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-29447",
    "summary": "Wordpress is an open source CMS. A user with the ability to upload files (like an Author) can exploit an XML parsing issue in the Media Library leading to XXE attacks. This requires WordPress installation to be using PHP 8. Access to internal files is possible in a successful XXE attack. This has been patched in WordPress version 5.7.1, along with the older affected versions via a minor release. We strongly recommend you keep auto-updates enabled.",
    "evidence": "osv:CVE-2021-29447",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-29447",
      "aliases": [
        "BIT-wordpress-2021-29447",
        "BIT-wordpress-multisite-2021-29447",
        "CVE-2021-29447",
        "GHSA-rv47-pc52-qrhh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wordpress/wordpress",
              "type": "GIT",
              "events": [
                {
                  "introduced": "965fcddcf68cf4fd122ae24b992e242dfea1d773"
                },
                {
                  "fixed": "5e3f55fde8ff1adc4a750b0ed7b20c50068230c0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.6.0"
                      },
                      {
                        "fixed": "5.7.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29447.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/wordpress/wordpress-develop",
              "type": "GIT",
              "events": [
                {
                  "introduced": "96a6969aab5f0b9362cbc984af230bdfc93022e8"
                },
                {
                  "fixed": "b36d4f9b075a8afe25e36bc9745aad92fe0203ac"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.6.0"
                      },
                      {
                        "fixed": "5.7.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29447.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:07.669874904Z",
      "provider": "osv",
      "references": [
        "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh",
        "https://lists.debian.org/debian-lts-announce/2021/04/msg00017.html",
        "https://wordpress.org/news/category/security/",
        "https://www.debian.org/security/2021/dsa-4896",
        "https://blog.sonarsource.com/wordpress-xxe-security-vulnerability/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-29447",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441989,
  "published_at": "2021-04-15T21:15:17.723+00:00"
}