Security mailing lists by PureSourceCode

CVE-2019-14827

MEDIUM 6.1CVSS 3.1

A vulnerability was found in Moodle where javaScript injection was possible in some Mustache templates via recursive rendering from contexts. Mustache helper tags that were included in template contexts were not being escaped before that context was injected into another Mustache helper, which could result in script injection in some templates. This affects versions 3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7 and earlier unsupported versions.

Published
17 May 2021
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-94
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.5.0, <= 3.5.7
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.6.0, <= 3.6.5
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.7.0, <= 3.7.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.