GHSA-h7h6-fwpv-ggvx

Suggest an improvement
Source
https://github.com/advisories/GHSA-h7h6-fwpv-ggvx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-h7h6-fwpv-ggvx/GHSA-h7h6-fwpv-ggvx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h7h6-fwpv-ggvx
Aliases
Published
2022-05-24T17:44:37Z
Modified
2024-02-16T08:00:13.422397Z
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 contains Stored XSS via ID number user profile field
Details

The ID number user profile field required additional sanitizing to prevent a stored XSS risk in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.

Database specific
{
    "nvd_published_at": "2021-03-15T22:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-13T17:04:27Z"
}
References

Affected packages

Packagist / moodle/moodle

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10
Fixed
3.10.2

Affected versions

v3.*

v3.10.0-beta
v3.10.0-rc1
v3.10.0-rc2
v3.10.0
v3.10.1

Database specific

{
    "last_known_affected_version_range": "<= 3.10.1"
}

Packagist / moodle/moodle

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.9
Fixed
3.9.5

Affected versions

v3.*

v3.9.0-beta
v3.9.0-rc1
v3.9.0-rc2
v3.9.0-rc3
v3.9.0
v3.9.1
v3.9.2
v3.9.3
v3.9.4

Database specific

{
    "last_known_affected_version_range": "<= 3.9.4"
}

Packagist / moodle/moodle

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.8
Fixed
3.8.8

Affected versions

v3.*

v3.8.0-beta
v3.8.0-rc1
v3.8.0
v3.8.1
v3.8.2
v3.8.3
v3.8.4
v3.8.5
v3.8.6
v3.8.7

Database specific

{
    "last_known_affected_version_range": "<= 3.8.7"
}

Packagist / moodle/moodle

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5
Fixed
3.5.17

Affected versions

v3.*

v3.5.0-beta
v3.5.0-rc1
v3.5.0
v3.5.1
v3.5.2
v3.5.3
v3.5.4
v3.5.5
v3.5.6
v3.5.7
v3.5.8
v3.5.9
v3.5.10
v3.5.11
v3.5.12
v3.5.13
v3.5.14
v3.5.15
v3.5.16

Database specific

{
    "last_known_affected_version_range": "<= 3.5.16"
}