The MediaElement.js WordPress plugin through 4.2.8 does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high-privilege users such as admins.
{
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"last_affected": "4.2.8"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"fixed": "4.2.8"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4699.json",
"cna_assigner": "WPScan"
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:mediaelementjs:mediaelement.js:*:*:*:*:*:wordpress:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "4.2.8"
}
]
}