Moodle Cross-site Scripting
The advisory, in context
An issue was discovered in Moodle 3.x. An authenticated user is allowed to add HTML blocks containing scripts to their Dashboard; this is normally not a security issue because a personal dashboard is visible to this user only. Through this security vulnerability, users can move such a block to other pages where they can be viewed by other users.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
From 3.1 before 3.1.12
Fixed in 3.1.12
15 explicitly affected versions
v3.1.0, v3.1.0-beta, v3.1.0-rc1, v3.1.0-rc2, v3.1.1, v3.1.10, v3.1.11, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.1"
},
{
"fixed": "3.1.12"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.1.0",
"v3.1.0-beta",
"v3.1.0-rc1",
"v3.1.0-rc2",
"v3.1.1",
"v3.1.10",
"v3.1.11",
"v3.1.2",
"v3.1.3",
"v3.1.4",
"v3.1.5",
"v3.1.6",
"v3.1.7",
"v3.1.8",
"v3.1.9"
]
}From 3.2 before 3.2.9
Fixed in 3.2.9
15 explicitly affected versions
v3.2.0, v3.2.0-beta, v3.2.0-rc1, v3.2.0-rc2, v3.2.0-rc3, v3.2.0-rc4, v3.2.0-rc5, v3.2.1, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.2"
},
{
"fixed": "3.2.9"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.2.0",
"v3.2.0-beta",
"v3.2.0-rc1",
"v3.2.0-rc2",
"v3.2.0-rc3",
"v3.2.0-rc4",
"v3.2.0-rc5",
"v3.2.1",
"v3.2.2",
"v3.2.3",
"v3.2.4",
"v3.2.5",
"v3.2.6",
"v3.2.7",
"v3.2.8"
]
}From 3.3 before 3.3.6
Fixed in 3.3.6
10 explicitly affected versions
v3.3.0, v3.3.0-beta, v3.3.0-rc1, v3.3.0-rc2, v3.3.0-rc3, v3.3.1, v3.3.2, v3.3.3, v3.3.4, v3.3.5
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.3"
},
{
"fixed": "3.3.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.3.0",
"v3.3.0-beta",
"v3.3.0-rc1",
"v3.3.0-rc2",
"v3.3.0-rc3",
"v3.3.1",
"v3.3.2",
"v3.3.3",
"v3.3.4",
"v3.3.5"
]
}From 3.4 before 3.4.3
Fixed in 3.4.3
7 explicitly affected versions
v3.4.0, v3.4.0-beta, v3.4.0-rc1, v3.4.0-rc2, v3.4.0-rc3, v3.4.1, v3.4.2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.4"
},
{
"fixed": "3.4.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.4.0",
"v3.4.0-beta",
"v3.4.0-rc1",
"v3.4.0-rc2",
"v3.4.0-rc3",
"v3.4.1",
"v3.4.2"
]
}