Cross-site scripting (XSS)
No editor has reviewed this definition yet, and search engines are not shown it until it is reviewed.
A hole where an attacker puts JavaScript into text your site displays, such as a comment or a name, so it runs in visitors' browsers. The defence is showing user text as text, not HTML, and adding a content security policy.
In Arabic
حقن السكربتات عبر المواقع
ثغرة يُدخل فيها مهاجم شيفرة JavaScript في نص يعرضه موقعك، كتعليق أو اسم، فتعمل في متصفحات الزوار. الوقاية أن تعرض نص المستخدمين نصاً لا HTML، وأن تضيف سياسة أمان المحتوى.
Also known as: XSS