Directory / plugin

Add Target Fixer

v0.0.04 · by shortdark

Fixes the target="_blank" vulnerability by adding rel="noopener noreferrer" to the 'a' tag.

About this plugin

This plugin looks at the phishing issue with target=”_blank” vulnerability when the opened page can control the referring page.
The plugin fixes it by adding a rel=”noopener noreferrer” in the “A” tags where a target=”_blank” is found. It does not
change the content, it only modifies the “A” tags while the plugin is active. Tested on PHP 5 to PHP 8.

Please let me know if you like this plugin by leaving a review or contacting me.

Go to the Shortdark WordPress plugin page for more information.

Plugin tags