Authenticated Cross-site Scripting in Template Name
该报告还没有中文解读。
原文摘录
摘自原文(1877 字符中的一小部分)
Explanation During my research on latest WordPress I found that `$file_description` and `$description` from `wp-admin/theme-editor.php` are not filtering name of the template allowing attacker to do XSS attack.
原文中的代码
...
$file_description = get_file_description( $filename );
if ( $filename !== basename( $absolute_filename ) || $file_description !== $filename ) {
$file_description .= '<br /><span class="nonessential">(' . $filename . ')</span>';
}
if ( $absolute_filename === $file ) { …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 WordPress 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @zurke · 版权归作者与 WordPress 所有