ubuntu-cve-2021-39201
Vulnerability from osv_ubuntu
Published
2021-09-09 22:15
Modified
2026-05-20 14:53
Summary
Details

WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. ### Impact The issue allows an authenticated but low-privileged user (like contributor/author) to execute XSS in the editor. This bypasses the restrictions imposed on users who do not have the permission to post unfiltered_html. ### Patches This has been patched in WordPress 5.8, and will be pushed to older versions via minor releases (automatic updates). It's strongly recommended that you keep auto-updates enabled to receive the fix. ### References https://wordpress.org/news/category/releases/ https://hackerone.com/reports/1142140 ### For more information If you have any questions or comments about this advisory: * Open an issue in HackerOne


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "wordpress",
            "binary_version": "4.4.2+dfsg-1ubuntu1"
          },
          {
            "binary_name": "wordpress-l10n",
            "binary_version": "4.4.2+dfsg-1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentyfifteen",
            "binary_version": "4.4.2+dfsg-1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentyfourteen",
            "binary_version": "4.4.2+dfsg-1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentysixteen",
            "binary_version": "4.4.2+dfsg-1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "wordpress",
        "purl": "pkg:deb/ubuntu/wordpress@4.4.2+dfsg-1ubuntu1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.3+dfsg-1",
        "4.3.1+dfsg-1",
        "4.4+dfsg-1",
        "4.4.1+dfsg-1",
        "4.4.2+dfsg-1",
        "4.4.2+dfsg-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "wordpress",
            "binary_version": "4.9.5+dfsg1-1"
          },
          {
            "binary_name": "wordpress-l10n",
            "binary_version": "4.9.5+dfsg1-1"
          },
          {
            "binary_name": "wordpress-theme-twentyfifteen",
            "binary_version": "4.9.5+dfsg1-1"
          },
          {
            "binary_name": "wordpress-theme-twentyseventeen",
            "binary_version": "4.9.5+dfsg1-1"
          },
          {
            "binary_name": "wordpress-theme-twentysixteen",
            "binary_version": "4.9.5+dfsg1-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "wordpress",
        "purl": "pkg:deb/ubuntu/wordpress@4.9.5+dfsg1-1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.8.2+dfsg-2",
        "4.8.3+dfsg-1",
        "4.9.1+dfsg-1",
        "4.9.2+dfsg-1",
        "4.9.4+dfsg-1",
        "4.9.5+dfsg1-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "wordpress",
            "binary_version": "5.3.2+dfsg1-1ubuntu1"
          },
          {
            "binary_name": "wordpress-l10n",
            "binary_version": "5.3.2+dfsg1-1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentynineteen",
            "binary_version": "5.3.2+dfsg1-1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentyseventeen",
            "binary_version": "5.3.2+dfsg1-1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentysixteen",
            "binary_version": "5.3.2+dfsg1-1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "wordpress",
        "purl": "pkg:deb/ubuntu/wordpress@5.3.2+dfsg1-1ubuntu1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.2.2+dfsg1-1",
        "5.2.4+dfsg1-1",
        "5.3.2+dfsg1-1",
        "5.3.2+dfsg1-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "wordpress",
            "binary_version": "5.8.3+dfsg1-1ubuntu1.1"
          },
          {
            "binary_name": "wordpress-l10n",
            "binary_version": "5.8.3+dfsg1-1ubuntu1.1"
          },
          {
            "binary_name": "wordpress-theme-twentynineteen",
            "binary_version": "5.8.3+dfsg1-1ubuntu1.1"
          },
          {
            "binary_name": "wordpress-theme-twentytwenty",
            "binary_version": "5.8.3+dfsg1-1ubuntu1.1"
          },
          {
            "binary_name": "wordpress-theme-twentytwentyone",
            "binary_version": "5.8.3+dfsg1-1ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "wordpress",
        "purl": "pkg:deb/ubuntu/wordpress@5.8.3+dfsg1-1ubuntu1.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.7.1+dfsg1-2ubuntu1",
        "5.8.1+dfsg1-2ubuntu1",
        "5.8.2+dfsg1-1ubuntu1",
        "5.8.3+dfsg1-1ubuntu1",
        "5.8.3+dfsg1-1ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "wordpress",
            "binary_version": "6.4.3+dfsg1-1ubuntu1"
          },
          {
            "binary_name": "wordpress-l10n",
            "binary_version": "6.4.3+dfsg1-1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentytwentyfour",
            "binary_version": "6.4.3+dfsg1-1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentytwentythree",
            "binary_version": "6.4.3+dfsg1-1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentytwentytwo",
            "binary_version": "6.4.3+dfsg1-1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "wordpress",
        "purl": "pkg:deb/ubuntu/wordpress@6.4.3+dfsg1-1ubuntu1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.2+dfsg1-1ubuntu1",
        "6.4.3+dfsg1-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "wordpress",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu1"
          },
          {
            "binary_name": "wordpress-l10n",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentytwentyfive",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentytwentyfour",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu1"
          },
          {
            "binary_name": "wordpress-theme-twentytwentythree",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "wordpress",
        "purl": "pkg:deb/ubuntu/wordpress@6.7.2+dfsg1-1.1ubuntu1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.7.2+dfsg1-1.1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "wordpress",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu2"
          },
          {
            "binary_name": "wordpress-l10n",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu2"
          },
          {
            "binary_name": "wordpress-theme-twentytwentyfive",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu2"
          },
          {
            "binary_name": "wordpress-theme-twentytwentyfour",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu2"
          },
          {
            "binary_name": "wordpress-theme-twentytwentythree",
            "binary_version": "6.7.2+dfsg1-1.1ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "wordpress",
        "purl": "pkg:deb/ubuntu/wordpress@6.7.2+dfsg1-1.1ubuntu2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.7.2+dfsg1-1.1ubuntu1",
        "6.7.2+dfsg1-1.1ubuntu2"
      ]
    }
  ],
  "aliases": [],
  "details": "WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. ### Impact The issue allows an authenticated but low-privileged user (like contributor/author) to execute XSS in the editor. This bypasses the restrictions imposed on users who do not have the permission to post `unfiltered_html`. ### Patches This has been patched in WordPress 5.8, and will be pushed to older versions via minor releases (automatic updates). It\u0027s strongly recommended that you keep auto-updates enabled to receive the fix. ### References https://wordpress.org/news/category/releases/ https://hackerone.com/reports/1142140 ### For more information If you have any questions or comments about this advisory: * Open an issue in [HackerOne](https://hackerone.com/wordpress)",
  "id": "UBUNTU-CVE-2021-39201",
  "modified": "2026-05-20T14:53:29Z",
  "published": "2021-09-09T22:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-39201"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-wh69-25hr-h94v"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/1142140"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-39201"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-39201"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…