over_react_avoid_link_target_vulnerability

Severity: AnalysisErrorSeverity.WARNING

Maturity: stable

Since 1.0.0

View the Project on GitHub workiva/over_react

PREFER creating links that open in a new window that do not expose security vulnarabilities.

GOOD:

(Dom.a()
  ..href = 'https://www.workiva.com'
  ..target = '_blank'
  ..rel = 'noopener noreferrer'
)();

BAD:

(Dom.a()
  ..href = 'https://www.workiva.com'
  ..target = '_blank'
)();
Read more about the target="_blank" security vulnerability