| 제목 | 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. PM 06:38 (8 개월 ago) |
|---|
| 모더레이션 | 2025. 10. 25. PM 06:25 (14 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 329894 [Iqbolshoh php-business-website 까지 10677743a8dfc281f85291a27cf63a0bce043c24 admin/contact.php twitter 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 20 |
|---|