Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-40313

23
FAUCET Score

CVE-2022-40313 describes a cross-site scripting (XSS) vulnerability in Moodle and related Fedora packages, stemming from the recursive rendering of Mustache template helpers that incorporate user input. This flaw, rated 7.1 HIGH, could lead to XSS or cause pages to fail loading, requiring user interaction (UI:R) for exploitation. There is no evidence of active exploitation, publicly available exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion surrounding this vulnerability.

Impacted Technologies

VendorProductVersion(s)CPE
>= 3.9.0, < 3.9.17CPE matchmatch criteria
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.11.0, < 3.11.10CPE matchmatch criteria
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.4CPE matchmatch criteria
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
8.0CPE matchmatch criteria
cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*
35CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.1HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
LOW
Exploitability Score
2.8
Impact Score
3.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.54%
Probability of exploitation in next 30 days
EPSS Percentile
42.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0054 is in the 44th percentile among its peer group of 14,875 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.1 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

composerpatch availablevia ghsa
Product: moodle/moodleFixed in: 3.9.17
composerpatch availablevia ghsa
Product: moodle/moodleFixed in: 3.11.10
composerpatch availablevia ghsa
Product: moodle/moodleFixed in: 4.0.4

Vendor Advisories (1)

composerGHSA-jqgr-gh62-jf53high

Moodle Stored Cross-site Scripting and page denial of service

Oct 1, 2022

References

bugzilla.redhat.com / show_bug.cgi
Issue TrackingThird Party Advisory
moodle.org / mod/forum/discuss.php
PatchVendor Advisory