Skip to content
/ xss Public

Simple but powerful XSS filter with the ability to preserve some HTML tags

License

Notifications You must be signed in to change notification settings

gplcart/xss

Repository files navigation

Build Status Scrutinizer Code Quality

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

  1. Download and extract to system/modules manually or using composer composer 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.
  2. Go to admin/module/list end enable the module
  3. Adjust list of allowed tags at admin/module/settings/xss

About

Simple but powerful XSS filter with the ability to preserve some HTML tags

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages