Moodle LMS 4.0 contains a cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts by submitting payloads through the search parameter. Attackers can inject JavaScript code via the search field in course/search.php to execute arbitrary scripts in users' browsers and steal session cookies.
CVE-2022-50943
Score 6.1 from GitHub Security Advisory published 2026-05-10. a secondary CVSS source baseline 6.1; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EG Risk
- 43(Track)EG Risk 43/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity61% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 26%
- KEV
- Not listed
Published
May 10, 2026
Last Modified
July 25, 2026
Advisory Details (4)
Auto-updated May 10, 2026Moodle LMS 4.0 Cross-Site Scripting via course search.php | Advisories | VulnCheck
https://www.vulncheck.com/advisories/moodle-lms-cross-site-scripting-via-course-search-phpMoodle LMS 4.0 - Cross-Site Scripting (XSS) - PHP webapps Exploit
https://www.exploit-db.com/exploits/51115Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 30× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 223 total refreshes for this CVE.
- 2026-09-15 03:07 UTCEPSS rescore
- 2026-09-13 16:44 UTCEPSS rescore
- 2026-09-11 14:50 UTCEPSS rescore
- 2026-09-11 12:53 UTCOSV refresh
- 2026-09-11 09:34 UTCEPSS rescore
- 2026-09-08 21:57 UTCEPSS rescore
- 2026-09-07 15:59 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-23 18:46 UTCEG score recompute
- 2026-08-23 18:46 UTCGHSA enrichment
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:53 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-17 13:44 UTCEPSS rescore
- 2026-08-17 11:20 UTCEG score recompute
- 2026-08-17 11:20 UTCGHSA enrichment
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 04:29 UTCEG score recompute
- 2026-08-16 04:29 UTCGHSA enrichment
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-14 03:03 UTCEG score recompute
- 2026-08-14 03:03 UTCGHSA enrichment
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 16:39 UTCEG score recompute
- 2026-08-12 16:39 UTCGHSA enrichment
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 08:13 UTCEG score recompute
- 2026-08-11 08:13 UTCGHSA enrichment
- 2026-08-10 06:34 UTCEG score recompute
- 2026-08-10 06:34 UTCGHSA enrichment
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-09 04:56 UTCEG score recompute
- 2026-08-09 04:56 UTCGHSA enrichment
- 2026-08-08 16:34 UTCEPSS rescore
- 2026-08-08 03:18 UTCEG score recompute
- 2026-08-08 03:18 UTCGHSA enrichment
- 2026-08-07 16:24 UTCEPSS rescore
- 2026-08-07 01:40 UTCEG score recompute
- 2026-08-07 01:40 UTCGHSA enrichment
- 2026-08-06 13:44 UTCEPSS rescore
- 2026-08-05 22:01 UTCEG score recompute
- 2026-08-05 22:01 UTCGHSA enrichment
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-04 10:35 UTCEPSS rescore
- 2026-08-04 05:58 UTCGHSA enrichment
- 2026-08-03 04:19 UTCGHSA enrichment
- 2026-08-02 02:25 UTCEG score recompute
- 2026-08-02 02:25 UTCGHSA enrichment
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 08:24 UTCEG score recompute
- 2026-07-26 08:24 UTCGHSA enrichment
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:17 UTCEG score recompute
- 2026-07-22 23:04 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 09:49 UTCOSV refresh
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
Frequently asked(5)
What is CVE-2022-50943?
When was CVE-2022-50943 disclosed?
Is CVE-2022-50943 actively exploited?
What is the CVSS score of CVE-2022-50943?
How do I remediate CVE-2022-50943?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2022-50943
Is Your Infrastructure Affected by CVE-2022-50943?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.