LiveActive security incident?Get immediate response
CVE Record

CVE-2019-14827: A vulnerability was found in Moodle where javaScript injection was possible in some Mustache templates via...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2019-14827 is a Moodle JavaScript injection issue in some Mustache template rendering paths. In affected Moodle versions, template helper content from a context could be reused without proper escaping, allowing script injection in some templates. The source bundle does not provide CVSS, exploit status, or detailed attack prerequisites.

Executive priority

Handle this as a medium-priority legacy Moodle risk unless your environment still runs affected public-facing versions. The main urgency is eliminating unsupported or outdated Moodle deployments, because the provided evidence does not show active exploitation or a CVSS score.

Technical view

The issue involves recursive rendering of Mustache templates where helper tags included in template contexts were not escaped before injection into another helper. This could create script injection in affected Moodle branches: 3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7, and earlier unsupported versions.

Likely exposure

Exposure is most likely where organizations still run the listed Moodle versions or unsupported earlier releases. The bundle does not identify affected modules, specific templates, required privileges, or whether default deployments are exploitable.

Exploitation context

CISA KEV status is false in the provided bundle, and no cited source states active exploitation. Treat this as a plausible web application injection risk, but do not assume internet-wide exploitation from the available evidence.

Researcher notes

Evidence is limited to the CVE description and Moodle references. Key unknowns include exploit prerequisites, affected template locations, user interaction requirements, and fixed release identifiers. Avoid asserting exploitability beyond script injection in some templates.

Mitigation direction

  • Inventory Moodle instances and identify exact version branches.
  • Review Moodle advisory and MDL-62284 references for vendor-confirmed fixes.
  • Upgrade affected or unsupported Moodle deployments to a supported fixed release.
  • Prioritize externally reachable or high-user Moodle sites first.
  • Monitor Moodle guidance for any newly documented workarounds.

Validation and detection

  • Confirm whether each Moodle instance matches the affected version ranges.
  • Check change history for MDL-62284-related fixes in deployed code.
  • Review security advisories for fixed versions before closing risk.
  • Assess whether custom templates or plugins use Mustache helper contexts.
  • Verify no unsupported Moodle versions remain in production.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-94: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2019-14827 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/aMoodle3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7 and earlier unsupported versionsListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-94 · source CWE mapping

Improper Control of Generation of Code ('Code Injection')

Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.