Cacti before 1.1.37 has XSS because it does not properly reject unintended characters, related to use of the sanitize_uri function in lib/functions.php.
https://www.cacti.net/changelog.php
https://lists.debian.org/debian-lts-announce/2022/03/msg00038.html