gplcart / xss
Simple XSS filter with the ability to preserve some HTML tags
dev-master
2018-03-10 14:51 UTC
Requires
This package is not auto-updated.
Last update: 2026-03-01 13:15:55 UTC
README
XSS filter is a GPL Cart module that intended to protect site visitors from XSS vulnerabilities. Essentially it filters out all dangerous tags and entities from HTML passed into $this->filter() function in theme templates. Administrators can decide which tags should be kept in the filtered text.
Installation
- Download and extract to
system/modulesmanually or using composercomposer require gplcart/xss. IMPORTANT: If you downloaded the module manually, be sure that the name of extracted module folder doesn't contain a branch/version suffix, e.g-master. Rename if needed. - Go to
admin/module/listend enable the module - Adjust list of allowed tags at
admin/module/settings/xss