Bug 2373836 (CVE-2025-49516)

Summary: CVE-2025-49516 moodle: CSRF risk in badges backpack management
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A vulnerability was found in Moodle. The "move up" and "move down" actions in backpack management for badges did not include the necessary token to prevent a Cross-Site Request Forgery (CSRF) risk.
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: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2373860, 2373862    
Bug Blocks:    

Description OSIDB Bzimport 2025-06-19 08:38:25 UTC
The "move up" and "move down" actions in backpack management for badges did not include the necessary token to prevent a CSRF risk.

Versions affected: 5.0, 4.5 to 4.5.4, 4.4 to 4.4.8, 4.1 to 4.1.18 and earlier unsupported versions

Versions fixed:	5.0.1, 4.5.5, 4.4.9 and 4.1.19

https://moodle.org/mod/forum/discuss.php?d=468505
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-84497