Vulnerability · CVE-2022-45151
The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several "social" user profile fields.
Published Nov 23, 2022 · catalog updated Jun 17, 2026 · The stored-XSS vulnerability was
Last checked Nov 7, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2022-45151. EPSS is 0.71%. Act only if a listed version of The stored-XSS vulnerability was is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (The stored-XSS vulnerability was).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-102588 · Medium
- CVE-2026-102587 · Low
- CVE-2026-102586 · Medium
- CVE-2026-102585 · Medium
- CVE-2026-102584 · Medium
- Severity
- Medium5.4
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.71%
- Remediation
- Version ranges on file
- Affected products
- cpe fedoraproject/fedora · cpe moodle/moodle
The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several "social" user profile fields. An attacker could inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe fedoraproject/fedora35
- cpe fedoraproject/fedora36
- cpe fedoraproject/fedora37
- cpe moodle/moodle< 3.11.11
- cpe moodle/moodle< 4.0.5
How to fix CVE-2022-45151
Upgrade
CVE-2022-45151 lists a fix boundary at 3.11.11. Compare the installed build with that boundary before you change production.
Version check
Affected < 3.11.11
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2022-45151. EPSS is 0.71%. Act only if a listed version of The stored-XSS vulnerability was is installed.
Which versions are affected?
Compare what you have installed with 35, 36, 37, < 3.11.11, < 4.0.5. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-79: Cross-site Scripting (XSS). EPSS 0.71%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Nov 23, 2022 · Monitored products — high
Detected
The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several "social" user profile fields. An attacker could inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Jun 17, 2026 · Monitored products — high
Updated
The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several "social" user profile fields. An attacker could inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Sources
- CVE.orgVulnerability recordCVE-2022-45151
Official CVE identifier
cve.org - Monitored products — highVendor advisoryCVE-2022-45151
The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several "social" user profile fields. An attacker could inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
nvd.nist.gov
References
Freshness
Last verified in this catalog Nov 7, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- CVE.orgNov 4, 2026
- Monitored products — highNov 4, 2026