gplcart/xss

Simple XSS filter with the ability to preserve some HTML tags

Maintainers

Details

github.com/gplcart/xss

Source

Issues

Installs: 1

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:gplcart-module

dev-master 2018-03-10 14:51 UTC

This package is not auto-updated.

Last update: 2024-12-22 07:03:13 UTC


README

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