CVE-2020-4047 (GCVE-0-2020-4047)

Vulnerability from cvelistv5 – Published: 2020-06-12 16:00 – Updated: 2024-08-04 07:52
VLAI?
Title
Authenticated XSS via media attachment page in WordPress
Summary
In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment pages in a certain way. This can lead to script execution in the context of a higher privileged user when the file is viewed by them. 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).
CWE
  • CWE-80 - Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Assigner
Impacted products
Vendor Product Version
WordPress wordpress-develop Affected: >= 5.4.0, < 5.4.2
Affected: >= 5.3.0, < 5.3.4
Affected: >= 5.2.0, < 5.2.7
Affected: >= 5.1.0, < 5.1.6
Affected: >= 5.0.0, < 5.0.10
Affected: >= 4.9.0, < 4.9.15
Affected: >= 4.8.0, < 4.8.14
Affected: >= 4.7.0, < 4.7.18
Affected: >= 4.6.0, < 4.6.19
Affected: >= 4.5.0, < 4.5.22
Affected: >= 4.4.0, < 4.4.23
Affected: >= 4.3.0, < 4.3.24
Affected: >= 4.2.0, < 4.2.28
Affected: >= 4.1.0, < 4.1.31
Affected: >= 4.0.0, < 4.0.31
Affected: >= 3.9.0, < 3.9.32
Affected: >= 3.8.0, < 3.8.34
Affected: >= 3.7.0, < 3.7.34
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T07:52:20.835Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81f"
          },
          {
            "name": "FEDORA-2020-8447a3e195",
            "tags": [
              "vendor-advisory",
              "x_refsource_FEDORA",
              "x_transferred"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/"
          },
          {
            "name": "FEDORA-2020-bbedd29391",
            "tags": [
              "vendor-advisory",
              "x_refsource_FEDORA",
              "x_transferred"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/"
          },
          {
            "name": "DSA-4709",
            "tags": [
              "vendor-advisory",
              "x_refsource_DEBIAN",
              "x_transferred"
            ],
            "url": "https://www.debian.org/security/2020/dsa-4709"
          },
          {
            "name": "[debian-lts-announce] 20200701 [SECURITY] [DLA 2269-1] wordpress security update",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html"
          },
          {
            "name": "[debian-lts-announce] 20200911 [SECURITY] [DLA 2371-1] wordpress security update",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "wordpress-develop",
          "vendor": "WordPress",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 5.4.0, \u003c 5.4.2"
            },
            {
              "status": "affected",
              "version": "\u003e= 5.3.0, \u003c 5.3.4"
            },
            {
              "status": "affected",
              "version": "\u003e= 5.2.0, \u003c 5.2.7"
            },
            {
              "status": "affected",
              "version": "\u003e= 5.1.0, \u003c 5.1.6"
            },
            {
              "status": "affected",
              "version": "\u003e= 5.0.0, \u003c 5.0.10"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.9.0, \u003c 4.9.15"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.8.0, \u003c 4.8.14"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.7.0, \u003c 4.7.18"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.6.0, \u003c 4.6.19"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.5.0, \u003c 4.5.22"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.4.0, \u003c 4.4.23"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.3.0, \u003c 4.3.24"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.2.0, \u003c 4.2.28"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.1.0, \u003c 4.1.31"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.0.0, \u003c 4.0.31"
            },
            {
              "status": "affected",
              "version": "\u003e= 3.9.0, \u003c 3.9.32"
            },
            {
              "status": "affected",
              "version": "\u003e= 3.8.0, \u003c 3.8.34"
            },
            {
              "status": "affected",
              "version": "\u003e= 3.7.0, \u003c 3.7.34"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment pages in a certain way. This can lead to script execution in the context of a higher privileged user when the file is viewed by them. 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)."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-80",
              "description": "CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2020-09-11T16:06:35.000Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81f"
        },
        {
          "name": "FEDORA-2020-8447a3e195",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA"
          ],
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/"
        },
        {
          "name": "FEDORA-2020-bbedd29391",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA"
          ],
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/"
        },
        {
          "name": "DSA-4709",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN"
          ],
          "url": "https://www.debian.org/security/2020/dsa-4709"
        },
        {
          "name": "[debian-lts-announce] 20200701 [SECURITY] [DLA 2269-1] wordpress security update",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html"
        },
        {
          "name": "[debian-lts-announce] 20200911 [SECURITY] [DLA 2371-1] wordpress security update",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html"
        }
      ],
      "source": {
        "advisory": "GHSA-8q2w-5m27-wm27",
        "discovery": "UNKNOWN"
      },
      "title": "Authenticated XSS via media attachment page in WordPress",
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2020-4047",
          "STATE": "PUBLIC",
          "TITLE": "Authenticated XSS via media attachment page in WordPress"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "wordpress-develop",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "\u003e= 5.4.0, \u003c 5.4.2"
                          },
                          {
                            "version_value": "\u003e= 5.3.0, \u003c 5.3.4"
                          },
                          {
                            "version_value": "\u003e= 5.2.0, \u003c 5.2.7"
                          },
                          {
                            "version_value": "\u003e= 5.1.0, \u003c 5.1.6"
                          },
                          {
                            "version_value": "\u003e= 5.0.0, \u003c 5.0.10"
                          },
                          {
                            "version_value": "\u003e= 4.9.0, \u003c 4.9.15"
                          },
                          {
                            "version_value": "\u003e= 4.8.0, \u003c 4.8.14"
                          },
                          {
                            "version_value": "\u003e= 4.7.0, \u003c 4.7.18"
                          },
                          {
                            "version_value": "\u003e= 4.6.0, \u003c 4.6.19"
                          },
                          {
                            "version_value": "\u003e= 4.5.0, \u003c 4.5.22"
                          },
                          {
                            "version_value": "\u003e= 4.4.0, \u003c 4.4.23"
                          },
                          {
                            "version_value": "\u003e= 4.3.0, \u003c 4.3.24"
                          },
                          {
                            "version_value": "\u003e= 4.2.0, \u003c 4.2.28"
                          },
                          {
                            "version_value": "\u003e= 4.1.0, \u003c 4.1.31"
                          },
                          {
                            "version_value": "\u003e= 4.0.0, \u003c 4.0.31"
                          },
                          {
                            "version_value": "\u003e= 3.9.0, \u003c 3.9.32"
                          },
                          {
                            "version_value": "\u003e= 3.8.0, \u003c 3.8.34"
                          },
                          {
                            "version_value": "\u003e= 3.7.0, \u003c 3.7.34"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "WordPress"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment pages in a certain way. This can lead to script execution in the context of a higher privileged user when the file is viewed by them. 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)."
            }
          ]
        },
        "impact": {
          "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N",
            "version": "3.1"
          }
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/",
              "refsource": "MISC",
              "url": "https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/"
            },
            {
              "name": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27",
              "refsource": "CONFIRM",
              "url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27"
            },
            {
              "name": "https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81f",
              "refsource": "MISC",
              "url": "https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81f"
            },
            {
              "name": "FEDORA-2020-8447a3e195",
              "refsource": "FEDORA",
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/"
            },
            {
              "name": "FEDORA-2020-bbedd29391",
              "refsource": "FEDORA",
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/"
            },
            {
              "name": "DSA-4709",
              "refsource": "DEBIAN",
              "url": "https://www.debian.org/security/2020/dsa-4709"
            },
            {
              "name": "[debian-lts-announce] 20200701 [SECURITY] [DLA 2269-1] wordpress security update",
              "refsource": "MLIST",
              "url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html"
            },
            {
              "name": "[debian-lts-announce] 20200911 [SECURITY] [DLA 2371-1] wordpress security update",
              "refsource": "MLIST",
              "url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html"
            }
          ]
        },
        "source": {
          "advisory": "GHSA-8q2w-5m27-wm27",
          "discovery": "UNKNOWN"
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2020-4047",
    "datePublished": "2020-06-12T16:00:36.000Z",
    "dateReserved": "2019-12-30T00:00:00.000Z",
    "dateUpdated": "2024-08-04T07:52:20.835Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…