CVE catalog

CVE-2019-14827

UBUNTU-

[CVE catalog]

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.

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.67% · Oct 27, 2026

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Ubuntupromoodle2.7.10+dfsg-1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle2.7.11+dfsg-1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle2.7.11+dfsg-2Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle2.7.12+dfsg-1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle2.7.9+dfsg-1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle3.0.3+dfsg-0ubuntu1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle3.0.3+dfsg-0ubuntu1+esm1Affected[UBUNTU-CVE-2019-14827]
Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Ubuntupromoodle2.7.10+dfsg-1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle2.7.11+dfsg-1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle2.7.11+dfsg-2Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle2.7.12+dfsg-1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle2.7.9+dfsg-1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle3.0.3+dfsg-0ubuntu1Affected[UBUNTU-CVE-2019-14827]
Ubuntupromoodle3.0.3+dfsg-0ubuntu1+esm1Affected[UBUNTU-CVE-2019-14827]
Original provider fields
{
  "package_releases": [],
  "fixed_versions": [],
  "distribution_packages": [
    {
      "name": "moodle",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "2.7.9+dfsg-1",
        "2.7.10+dfsg-1",
        "2.7.11+dfsg-1",
        "2.7.11+dfsg-2",
        "2.7.12+dfsg-1",
        "3.0.3+dfsg-0ubuntu1",
        "3.0.3+dfsg-0ubuntu1+esm1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-14827",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2019-14827",
      "provider_updated_at": "2026-09-23T18:46:06.095325325Z"
    },
    {
      "name": "moodle",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "3.0.3+dfsg-0ubuntu1",
        "3.0.3+dfsg-0ubuntu1+esm1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-14827",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2019-14827",
      "provider_updated_at": "2026-09-23T18:46:06.095325325Z"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

Observed:

References