XSS Vulnerability on Pressable/Atomic Hosting Platform via unescaped admin notices leads to code execution
该报告还没有中文解读。
原文摘录
摘自原文(2472 字符中的一小部分)
Summary: XSS Vulnerability: Unescaped text output in admin notice on `atomic-platform.php`
原文中的代码
function add_admin_notice( $message, $class = 'notice notice-error is-dismissible' ) {
$this->admin_notices[] = array( $message, $class );
}
function print_admin_notices() {
foreach ( $this->admin_notices as $notice ) {
?>
<div class="<?php echo esc_attr( $notice[1] ); ?>"> …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Automattic 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @georgestephanis · 版权归作者与 Automattic 所有