CVE-2022-40313
HIGHCVSS 7.1/10EPSS 0.53%
Last modified
CVE-2022-40313 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
Description
Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Moodle | Moodle | >= 3.9.0, < 3.9.17 |
| Moodle | Moodle | >= 3.11.0, < 3.11.10 |
| Moodle | Moodle | >= 4.0.0, < 4.0.4 |
| Fedoraproject | Extra Packages For Enterprise Linux | 8.0 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2128146Issue Tracking, Third Party Advisory
- https://moodle.org/mod/forum/discuss.php?d=438392Patch, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2128146Issue Tracking, Third Party Advisory
- https://moodle.org/mod/forum/discuss.php?d=438392Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-40313?
Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.
How severe is CVE-2022-40313?
CVE-2022-40313 has a CVSS score of 7.1/10 (HIGH severity). The EPSS model estimates a 0.53% probability of exploitation in the next 30 days.
How do I fix CVE-2022-40313?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-40308If anonymous read enabled, it's possible to read the databas…7.5
- CVE-2022-40309Users with write permissions to a repository can delete arbi…4.3
- CVE-2022-4031The Simple:Press plugin for WordPress is vulnerable to arbit…4.9
- CVE-2022-40310Authenticated (subscriber+) Race Condition vulnerability in …3.1
- CVE-2022-40311Auth. (admin+) Stored Cross-Site Scripting (XSS) in Fatcat A…4.8
- CVE-2022-40312Server-Side Request Forgery (SSRF) vulnerability in GiveWP G…6.5
- CVE-2022-40314A remote code execution risk when restoring backup files ori…9.8
- CVE-2022-40315A limited SQL injection risk was identified in the "browse l…9.8
- CVE-2022-40316The H5P activity attempts report did not filter by groups, w…4.3
- CVE-2022-40317OpenKM 6.3.11 allows stored XSS related to the javascript&co…5.4
- CVE-2022-40318An issue was discovered in bgpd in FRRouting (FRR) through 8…6.5
- CVE-2022-40319The LISTSERV 17 web interface allows remote attackers to con…7.5
Are you affected by CVE-2022-40313?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
