Skip to content

vue/no-template-target-blank ​

Add rel="noopener noreferrer" to links that use target="_blank"

PropertyValue
CategorySecurity
Default Severitywarning
Confidencehigh
FixableNo
Engineeslint-template
Sincev1.0.0
Frameworksvue, nuxt
CWECWE-1022

Why it matters ​

Add rel="noopener noreferrer" to links that use target="_blank"

How to fix ​

Review the finding and update the code according to best practices below.

Agent Guidance ​

Add rel="noopener noreferrer" to every link with target="_blank".


Rule source: vue/no-template-target-blank

Released under the MIT License.