Soumettre #673540: php-business-website web 1 xss vulnerabilityinformation

Titrephp-business-website web 1 xss vulnerability
DescriptionThe 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.
La source⚠️ https://github.com/mhszed/Report/blob/main/php-business-website%20xss.docx
Utilisateur
 mahushuai (UID 91047)
Soumission11/10/2025 18:38 (il y a 12 mois)
Modérer25/10/2025 18:25 (14 days later)
StatutAccepté
Entrée VulDB329894 [Iqbolshoh php-business-website admin/contact.php twitter cross site scripting]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!