提交 #673540: php-business-website web 1 xss vulnerability信息

标题php-business-website web 1 xss vulnerability
描述The admin/contact.php page in the php-business-website project has a stored XSS vulnerability. The page's code directly retrieves user input submitted via $_POST['twitter'] without any output filtering and returns it to the frontend using json_encode. If the frontend renders the twitter field into the DOM using innerHTML, v-html, or similar methods, an attacker can input malicious scripts such as <script>alert('666')</script> when clicking 'Edit Twitter' on this page. The script will be stored and executed by the browser when the page is rendered, thereby triggering a stored XSS attack.
来源⚠️ https://github.com/mhszed/Report/blob/main/php-business-website%20xss.docx
用户
 mahushuai (UID 91047)
提交2025-10-11 18時38分 (12 月前)
管理2025-10-25 18時25分 (14 days later)
状态已接受
VulDB条目329894 [Iqbolshoh php-business-website 直到 10677743a8dfc281f85291a27cf63a0bce043c24 admin/contact.php twitter 跨网站脚本]
积分20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!