glpi-project / plugins

GLPI Plugin Directory
http://plugins.glpi-project.org
21 stars 19 forks source link

Permit usage of more HTML tags in plugins descriptions #77

Closed cedric-anne closed 3 years ago

cedric-anne commented 3 years ago

Some plugins are using HTML tags that are currently removed by sanitize process, even if they cannot be used for XSS purpose.

Removal of these tags combined with markdown transformation may lead to unexpected double encoding of HTML special chars ( see https://plugins.glpi-project.org/#/plugin/escalation ).

With this change, almost all HTML tags are allowed, except thoose that can be used to load external resources (img, video, object, iframe, ...).