Advisory

GHSA-6gx2-g773-hv9h

Also known as: BIT-moodle-2022-45150, CVE-2022-45150

Summary

Moodle reflected cross-site scripting vulnerability in policy tool

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-11-23 15:30 UTC
Modified
2024-04-23 23:58 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.9, fixed 3.9.18 (ecosystem)

Fixed versions

3.9.18

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.11, fixed 3.11.11 (ecosystem)

Fixed versions

3.11.11

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.0, fixed 4.0.5 (ecosystem)

Fixed versions

4.0.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences