Di dieu aya conto kode vulnerable di PHP nu susceptible ka serangan XSS reflected: BASH ``` $name = $_GET['name']; echo "Hello, ". $name; ```` Dina conto ieu, variabel `$name` ieu langsung dicandak ti string query URL jeung echo input pamaké tanpa validasi atawa sanitasi nanaon. An attacker bisa nyieun URL kalawan payload jahat dina parameter `name `, contona: PHP ``` http://ex=script.com/?get?alert('XSS Attack</script> ```) Lamun ngaran korban didatangan URL ieu, nu jahat bakal dieksekusi dina browser korban, ngamungkinkeun hacker pikeun maok informasi husus atawa tipe séjén kode serangan.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence