In Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1, an unauthenticated user can inject arbitrary JavaScript code as a result of the sanitization engine ignoring HTML comments.
{
"versions": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.10"
},
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.10"
},
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.2"
},
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.2"
},
{
"introduced": "0"
},
{
"last_affected": "2.3.2-NA"
},
{
"introduced": "0"
},
{
"last_affected": "2.3.2-NA"
}
]
}