Skip to content

Moodle cross-site scripting (XSS) vulnerability

Moderate severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Jan 26, 2024

Package

composer moodle/moodle (Composer)

Affected versions

>= 2.7.0, < 2.7.9
>= 2.8.0, < 2.8.7
>= 2.9.0, < 2.9.1

Patched versions

2.7.9
2.8.7
2.9.1

Description

Cross-site scripting (XSS) vulnerability in the user_get_user_details function in user/lib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to inject arbitrary web script or HTML by leveraging absence of an external_format_text call in a web service.

References

Published by the National Vulnerability Database Feb 22, 2016
Published to the GitHub Advisory Database May 13, 2022
Reviewed Jan 26, 2024
Last updated Jan 26, 2024

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2015-3274

GHSA ID

GHSA-f7qm-q26p-6rr2

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.