Optum / mockiato

A web-based platform for API virtualization
Apache License 2.0
24 stars 9 forks source link

use unsafe target blank #619

Open QiAnXinCodeSafe opened 3 years ago

QiAnXinCodeSafe commented 3 years ago

hi: Use the target attribute in the <a> tag and set the value to _blank. Attackers will attack the window.opener API with malicious behavior, which may cause phishing security vulnerabilities.

mockiato/public/index.html L74 mockiato-master/public/partials/templateForm.html L4

It is recommended to use rel="noopenner noreferrer" when using target="_blank".