CVE-2019-3851:
Moodle Secure layout contained an insecure link in Boost theme
4.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.45649%
CWE
-
Published
5/13/2022
Updated
1/26/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | >= 3.5, < 3.5.5 | 3.5.5 |
moodle/moodle | composer | >= 3.6, < 3.6.3 | 3.6.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insecure template markup in the Boost theme's secure layout (navbar-secure.mustache
), not from specific PHP
functions. The commit diff shows removal of an <a> tag linking to config.wwwroot
in the template file, which allowed navigation to the home page. While template rendering mechanisms are involved, no specific PHP
functions were identified as vulnerable - the issue resides purely in the template structure allowing unintended navigation. The added test files (securelayout.feature
, securetestpage.php
) validate the fix but don't represent vulnerable code.