CVE-2020-4046 (GCVE-0-2020-4046)
Vulnerability from cvelistv5 – Published: 2020-06-12 15:55 – Updated: 2024-08-04 07:52
VLAI?
Title
Authenticated XSS through embed block in WordPress
Summary
In affected versions of WordPress, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. 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).
Severity ?
5.4 (Medium)
CWE
- CWE-80 - Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Assigner
References
| URL | Tags | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||
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 |
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-04T07:52:20.719Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/"
},
{
"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"
}
],
"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, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. 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": 5.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/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-07-01T14:06:04.000Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/"
},
{
"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"
}
],
"source": {
"advisory": "GHSA-rpwf-hrh2-39jf",
"discovery": "UNKNOWN"
},
"title": "Authenticated XSS through embed block in WordPress",
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2020-4046",
"STATE": "PUBLIC",
"TITLE": "Authenticated XSS through embed block 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, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. 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": 5.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/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://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf",
"refsource": "CONFIRM",
"url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf"
},
{
"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": "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"
}
]
},
"source": {
"advisory": "GHSA-rpwf-hrh2-39jf",
"discovery": "UNKNOWN"
}
}
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2020-4046",
"datePublished": "2020-06-12T15:55:12.000Z",
"dateReserved": "2019-12-30T00:00:00.000Z",
"dateUpdated": "2024-08-04T07:52:20.719Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
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…
Loading…