Links can be injected into facets via query string

Created on 20 November 2024, about 2 months ago

Links can be injected into facets via query string. This is a result of the call to filter_xss in adapter.inc being left at its default settings which allows for the anchor tag. I propose simply passing an empty array to the second parameter of filter_xss.

$parts[$id] = htmlspecialchars_decode(filter_xss($part)); would become $parts[$id] = htmlspecialchars_decode(filter_xss($part, []));

πŸ› Bug report
Status

Active

Version

1.10

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kyoder

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024