GHSA-xv72-6pgh-cjj8

Suggest an improvement
Source
https://github.com/advisories/GHSA-xv72-6pgh-cjj8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-xv72-6pgh-cjj8/GHSA-xv72-6pgh-cjj8.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-xv72-6pgh-cjj8
Aliases
Published
2022-11-23T15:30:21Z
Modified
2024-04-23T23:57:47.302914Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Moodle stored-XSS vulnerability in some "social" user profile fields
Details

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.

Database specific
{
    "nvd_published_at": "2022-11-23T15:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-23T23:43:35Z"
}
References

Affected packages

Packagist / moodle/moodle

Package

Name
moodle/moodle
Purl
pkg:composer/moodle/moodle

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.11
Fixed
3.11.11

Affected versions

v3.*

v3.11.0-beta
v3.11.0-rc1
v3.11.0-rc2
v3.11.0
v3.11.1
v3.11.2
v3.11.3
v3.11.4
v3.11.5
v3.11.6
v3.11.7
v3.11.8
v3.11.9
v3.11.10

Packagist / moodle/moodle

Package

Name
moodle/moodle
Purl
pkg:composer/moodle/moodle

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0
Fixed
4.0.5

Affected versions

v4.*

v4.0.0-beta
v4.0.0-rc1
v4.0.0-rc2
v4.0.0-rc3
v4.0.0-rc4
v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.0.4