SCA: security update for moodle/moodle (GHSA-6gx2-g773-hv9h)

medium Tenable Self-Hosted Container Security Plugin ID 421770

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- A reflected cross-site scripting vulnerability was discovered in Moodle. This flaw exists due to
insufficient sanitization of user-supplied data in policy tool. An attacker can trick the victim to open a
specially crafted link that executes an arbitrary HTML and script code in user's browser in context of
vulnerable website. This vulnerability may allow an attacker to perform cross-site scripting (XSS) attacks
to gain access potentially sensitive information and modification of web pages. (CVE-2022-45150)

See Also

https://github.com/advisories/GHSA-6gx2-g773-hv9h

Plugin Details

Severity: Medium

ID: 421770

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2022-45150

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/23/2022

Vulnerability Publication Date: 11/23/2022

Reference Information

CVE: CVE-2022-45150

cwe: CWE-79