A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7, 3.1.13. When a quiz question bank is imported, it was possible for the question preview that is displayed to execute JavaScript that is written into the question bank.
{
"versions": [
{
"introduced": "3.1"
},
{
"fixed": "3.1.13"
},
{
"introduced": "3.3"
},
{
"fixed": "3.3.7"
},
{
"introduced": "3.4"
},
{
"fixed": "3.4.4"
},
{
"introduced": "3.5"
},
{
"fixed": "3.5.1"
}
]
}