CVE-2024-38356 (GCVE-0-2024-38356)
Vulnerability from cvelistv5 – Published: 2024-06-19 20:03 – Updated: 2024-08-02 04:04
VLAI?
Title
TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
Summary
TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content extraction code. When using the `noneditable_regexp` option, specially crafted HTML attributes containing malicious code were able to be executed when content was extracted from the editor. This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that, when using the `noneditable_regexp` option, any content within an attribute is properly verified to match the configured regular expression before being added. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Severity ?
6.1 (Medium)
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
| URL | Tags | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
Impacted products
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-38356",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-06-20T16:29:07.834861Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-06-20T16:29:15.320Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T04:04:25.245Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph"
},
{
"name": "https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d"
},
{
"name": "https://owasp.org/www-community/attacks/xss",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://owasp.org/www-community/attacks/xss"
},
{
"name": "https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview"
},
{
"name": "https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "tinymce",
"vendor": "tinymce",
"versions": [
{
"status": "affected",
"version": "\u003c 5.11.0"
},
{
"status": "affected",
"version": "\u003e= 6.0.0, \u003c6.8.4"
},
{
"status": "affected",
"version": "\u003e= 7.0.0, \u003c 7.2.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE\u2019s content extraction code. When using the `noneditable_regexp` option, specially crafted HTML attributes containing malicious code were able to be executed when content was extracted from the editor. This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that, when using the `noneditable_regexp` option, any content within an attribute is properly verified to match the configured regular expression before being added. Users are advised to upgrade. There are no known workarounds for this vulnerability.\n"
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-06-19T20:03:47.923Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph"
},
{
"name": "https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d"
},
{
"name": "https://owasp.org/www-community/attacks/xss",
"tags": [
"x_refsource_MISC"
],
"url": "https://owasp.org/www-community/attacks/xss"
},
{
"name": "https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview",
"tags": [
"x_refsource_MISC"
],
"url": "https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview"
},
{
"name": "https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview",
"tags": [
"x_refsource_MISC"
],
"url": "https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview"
}
],
"source": {
"advisory": "GHSA-9hcv-j9pv-qmph",
"discovery": "UNKNOWN"
},
"title": "TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-38356",
"datePublished": "2024-06-19T20:03:47.923Z",
"dateReserved": "2024-06-14T14:16:16.464Z",
"dateUpdated": "2024-08-02T04:04:25.245Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-38356\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-20T16:29:07.834861Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-20T16:29:11.874Z\"}}], \"cna\": {\"title\": \"TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option\", \"source\": {\"advisory\": \"GHSA-9hcv-j9pv-qmph\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 6.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}}], \"affected\": [{\"vendor\": \"tinymce\", \"product\": \"tinymce\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 5.11.0\"}, {\"status\": \"affected\", \"version\": \"\u003e= 6.0.0, \u003c6.8.4\"}, {\"status\": \"affected\", \"version\": \"\u003e= 7.0.0, \u003c 7.2.0\"}]}], \"references\": [{\"url\": \"https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph\", \"name\": \"https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d\", \"name\": \"https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://owasp.org/www-community/attacks/xss\", \"name\": \"https://owasp.org/www-community/attacks/xss\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview\", \"name\": \"https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview\", \"name\": \"https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE\\u2019s content extraction code. When using the `noneditable_regexp` option, specially crafted HTML attributes containing malicious code were able to be executed when content was extracted from the editor. This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that, when using the `noneditable_regexp` option, any content within an attribute is properly verified to match the configured regular expression before being added. Users are advised to upgrade. There are no known workarounds for this vulnerability.\\n\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-79\", \"description\": \"CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-06-19T20:03:47.923Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-38356\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-06-20T16:29:15.320Z\", \"dateReserved\": \"2024-06-14T14:16:16.464Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-06-19T20:03:47.923Z\", \"assignerShortName\": \"GitHub_M\"}",
"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…