GitHub Advisoryadvisory · Packagist

GHSA-xv72-6pgh-cjj8 Moodle stored-XSS vulnerability in some "social" user profile fields

MEDIUM Published 2022-11-23 Modified 2024-04-23 Official page ↗
Aliases
CVE-2022-45151
Ecosystem
Packagist
Packages
moodle/moodle
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2024-04-23

Affected packages

• Packagist moodle/moodle: >= 3.11, < 3.11.11 → fixed in 3.11.11 • Packagist moodle/moodle: >= 4.0, < 4.0.5 → fixed in 4.0.5

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-45151 The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References