6.1

CVE-2022-50943: moodle Cross-site Scripting

CVSS: 6.1v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2022-50943
Published 10-05-2026Last modified 15-07-2026

Vulnerability summary

CVE-2022-50943 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in moodle. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.30%
0%100%
Low · -0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1exploit-database

Timeline

  1. 10-05-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 3 sources · 2 versions

EPSS trend

Probability

0.30%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

-0.03 pp

From 0.33% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.30%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • exploit-databasephpUnverified

    Moodle LMS 4.0 - Cross-Site Scripting (XSS)

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Moodle2 products
Ubuntu1 product
  • moodleAll versions (No fix recorded)

2 vendors · 3 products

References

6 links