mirror of
https://github.com/wekan/wekan.git
synced 2026-01-30 05:05:17 +01:00
Security Fix 1: IDOR in setCreateTranslation. Non-admin could change Custom Translation.
Thanks to Joshua Rogers of joshua.hu, Twitter MegaManSec.
This commit is contained in:
parent
48e856fca2
commit
f244a43771
2 changed files with 19 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ Template.newTranslationPopup.events({
|
|||
Template.settingsTranslationPopup.events({
|
||||
'click #deleteButton'(event) {
|
||||
event.preventDefault();
|
||||
Translation.remove(this.translationId);
|
||||
Meteor.call('deleteTranslation', this.translationId);
|
||||
Popup.back();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue