fix(vulnerability): prevent xss with events, tasks and contacts categories

This commit is contained in:
Hivert Quentin
2025-12-16 10:25:49 +01:00
parent 47239ba0fd
commit e9b3f2a43d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -485,7 +485,7 @@ static Class SOGoContactGCSEntryK = Nil;
co = [self clientObject];
card = [co vCard];
request = [context request];
params = [[request contentAsString] objectFromJSONString];
params = [[[request contentAsString] stringWithoutHTMLInjection: YES] objectFromJSONString];
forceSave = [[params objectForKey: @"ignoreDuplicate"] boolValue];
[self setAttributes: params];