<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>surfi8000</author_name>
  <author_url>https://blog.hatena.ne.jp/surfi8000/</author_url>
  <blog_title>調べたことをまとめるブログ</blog_title>
  <blog_url>https://corycory.hateblo.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>セキュリティ</anon>
  </categories>
  <description>はじめに 今回は、aタグにtarget=&quot;_blank&quot;を指定することのリスクと対処法についてまとめます。 こういうやつ↓の危険性ですね。 &lt;a href=&quot;hoge.html&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt; target=&quot;_blank&quot;の危険性 target=&quot;_blank&quot;は、リンク先のページを新しいウィンドウで開く指定をする属性ですが、リンク先として開かれたウィンドウは同じプロセスとして動作します。なので、window.openerを用いてリンク先のページからリンク元のオブジェクトを操作することが可能です。 では、実際にwindow.openerを使ってリンク先のページから…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcorycory.hateblo.jp%2Fentry%2Fjavascript%2Fsecurity-target-blank%2F&quot; title=&quot;外部リンクtarget=&amp;quot;_blank&amp;quot;の危険性 - Tabnabbing - 調べたことをまとめるブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://morelia.tokyo/wp-content/uploads/2020/05/article.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-07 13:51:13</published>
  <title>外部リンクtarget=&quot;_blank&quot;の危険性 - Tabnabbing</title>
  <type>rich</type>
  <url>https://corycory.hateblo.jp/entry/javascript/security-target-blank/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
