The "social" user profile field type performed insufficient escaping on some fields, resulting in a stored XSS risk.
| Severity/Risk: | Serious |
| Versions affected: | 4.0 to 4.0.4 and 3.11 to 3.11.10 |
| Versions fixed: | 4.0.5 and 3.11.11 |
| Reported by: | Bernardo Cabral |
| Workaround: | Update "social" user profile fields so their visibility is set to "not visible", until the patch is applied. |
| CVE identifier: | CVE-2022-45151 |
| Changes (master): | http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76131 |
| Tracker issue: | MDL-76131 Stored XSS possible in some "social" user profile fields |