Advisory

GHSA-vrf6-q7qj-69v5

Also known as: CVE-2014-7835

Summary

Moodle allows attackers to upload files containing JavaScript

Details

webservice/upload.php in Moodle 2.6.x before 2.6.6 and 2.7.x before 2.7.3 does not ensure that a file upload is for a private or draft area, which allows remote authenticated users to upload files containing JavaScript, and consequently conduct cross-site scripting (XSS) attacks, by specifying the profile-picture area.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-05-13 01:12 UTC
Modified
2024-12-07 05:35 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.6.0, fixed 2.6.6 (ecosystem)

Fixed versions

2.6.6

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.7.0, fixed 2.7.3 (ecosystem)

Fixed versions

2.7.3

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