Bug 1599815 (CVE-2018-10891)

Summary: CVE-2018-10891 moodle: Quiz question bank import preview could execute JavaScript
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: i.gnatenko.brain, limburgher
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20180709,reported=20180704,source=internet,cvss3=6.3/CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L,cwe=CWE-20,fedora-all/moodle=affected,epel-7/moodle=affected
Fixed In Version: moodle 3.5.1, moodle 3.4.4, moodle 3.3.7, moodle 3.1.13 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1599816, 1599817    
Bug Blocks:    

Description Laura Pardo 2018-07-10 11:56:13 EDT
A flaw was found in Moodle. When a quiz question bank is imported, it was possible for the question preview that is displayed to execute JavaScript that is written into the question bank.


References:
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62820
Comment 1 Laura Pardo 2018-07-10 11:56:38 EDT
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 1599817]
Affects: fedora-all [bug 1599816]