Description
WordPress Plugin .htaccess Redirect is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin .htaccess Redirect version 0.3.1 is vulnerable; prior versions may also be affected.
Remediation
Edit the source code to ensure that input is properly sanitised or disable the plugin until a fix is available
References
https://www.wordfence.com/vulnerability-advisories/#CVE-2021-38361
https://wordpress.org/plugins/htaccess-redirect/#description
Related Vulnerabilities
WordPress Plugin YITH WooCommerce Product Add-Ons Security Bypass (1.5.21)
WordPress Plugin Video Conferencing with Zoom Information Disclosure (3.8.16)
WordPress Plugin Custom 404 Pro Cross-Site Request Forgery (3.7.1)
WordPress Plugin WP-Cumulus 'tagcloud.swf' Cross-Site Scripting (1.22)
WordPress Plugin WordPress Download Manager Cross-Site Scripting (2.9.86)