Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
517
Issue boards
Milestones
Wiki
Code
Merge requests
83
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
vtiger
vtigercrm
Merge requests
!510
Fixes
#1220
XSS vulnerability is addressed
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixes
#1220
XSS vulnerability is addressed
uma.s/vtigercrm:xss_vulnerability_on_ckeditor
into
master
Overview
0
Commits
4
Changes
Merged
Uma
requested to merge
uma.s/vtigercrm:xss_vulnerability_on_ckeditor
into
master
5 years ago
Overview
0
Commits
4
Changes
-
Expand
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
99850345
4 commits,
5 years ago
+
3
−
16
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
include/utils/ListViewUtils.php
+
2
−
2
Options
@@ -675,9 +675,9 @@ function decode_html($str) {
global $default_charset;
// Direct Popup action or Ajax Popup action should be treated the same.
if ((isset($_REQUEST['action']) && $_REQUEST['action'] == 'Popup') || (isset($_REQUEST['file']) && $_REQUEST['file'] == 'Popup'))
return html_entity_decode($str);
return
purifyHtmlEventAttributes(
html_entity_decode($str)
)
;
else
return html_entity_decode($str, ENT_QUOTES, $default_charset);
return
purifyHtmlEventAttributes(
html_entity_decode($str, ENT_QUOTES, $default_charset)
)
;
}
function popup_decode_html($str) {
Loading