# XSS: meaning and business risks | Aeptus - Kind: Detail - URL: /glossary/cross-site-scripting - Canonical: https://www.aeptus.com/glossary/cross-site-scripting/ - HTML lang: en-GB - H1: XSS - Description: Cross-site scripting (XSS) lets attacker-controlled code run in someone's browser through a website they use. - Structured data: BreadcrumbList, DefinedTerm, ListItem, WebPage - Internal links: 81 - Image coverage: 5/13 images with alt text - Summary: XSS: meaning and business risks | Aeptus. Cross-site scripting (XSS) lets attacker-controlled code run in someone's browser through a website they use.. XSS - Related links: product-connect-and-prepare-data, product-collect-and-keep-evidence-current, product-report-with-confidence, work-with-ai-agents, automation - Outline: Section: Latest articles Canadian report maps security work in small businesses A review of public data looks at security staffin | Section: Editors’ picks Unauthorized radio signals stopped trains in Poland in 2023 In August 2023, unauthorized radio transmissi | Section: Explore Make security decisions 1 Prepare, respond and recover 2 Protect everyday business 2 Prove security and earn tru ## Section Latest articles Canadian report maps security work in small businesses A review of public data looks at security staffing, written policies and updates among Canadian businesses with 10 to 49 employees. INTERCEPT hosts free cybersecurity webinar for small teams The 18 November online event will cover phishing, multi-factor authentication and a cybersecurity learning platform. A third-party software vulnerability led to a data breach at Frontline Education Frontline has begun notifying people affected by an August incident involving two school administration products. The impact varies between districts and individuals. ## Section Editors’ picks Unauthorized radio signals stopped trains in Poland in 2023 In August 2023, unauthorized radio transmissions triggered Poland’s railway stop function. Reporting said the receiver did not verify who sent the command; no one was injured. A cyberattack disrupted refrigeration at hundreds of French supermarkets An attack on 12 October 2026 changed refrigeration settings and led stores to discard fresh and frozen food. CERT-FR named several affected controller families, warned that activity might continue and did not identify how access began. A secret is not rotated until the old credential stops working Railway’s preliminary report says some environment variables in at most 1.85% of workspaces may have been compromised, but it could not identify which specific variables were affected. Prove a rotation is complete by checking each consumer and confirming the old credential is revoked. ## Section Explore Make security decisions 1 Prepare, respond and recover 2 Protect everyday business 2 Prove security and earn trust 1 Understand threats and change 9 ## Section Topics ## LearnEditorialMobileSection Latest articles Canadian report maps security work in small businesses A review of public data looks at security staffing, written policies and updates among Canadian businesses with 10 to 49 employees. INTERCEPT hosts free cybersecurity webinar for small teams The 18 November online event will cover phishing, multi-factor authentication and a cybersecurity learning platform. A third-party software vulnerability led to a data breach at Frontline Education Frontline has begun notifying people affected by an August incident involving two school administration products. The impact varies between districts and individuals. View all articles → ## LearnEditorialMobileSection How-to Guides Answer security questionnaires without chaos A step-by-step way to respond faster without improvising every answer from scratch. View all guides → ## LearnEditorialMobileSection Editors’ picks Unauthorized radio signals stopped trains in Poland in 2023 In August 2023, unauthorized radio transmissions triggered Poland’s railway stop function. Reporting said the receiver did not verify who sent the command; no one was injured. A cyberattack disrupted refrigeration at hundreds of French supermarkets An attack on 12 October 2026 changed refrigeration settings and led stores to discard fresh and frozen food. CERT-FR named several affected controller families, warned that activity might continue and did not identify how access began. A secret is not rotated until the old credential stops working Railway’s preliminary report says some environment variables in at most 1.85% of workspaces may have been compromised, but it could not identify which specific variables were affected. Prove a rotation is complete by checking each consumer and confirming the old credential is revoked. ## LearnEditorialMobileSection Explore Article categories Make security decisions 1 Prepare, respond and recover 2 Protect everyday business 2 Prove security and earn trust 1 Understand threats and change 9 Topics ## GlossaryTermProof Glossary XSS cross-site scripting Jump to Definition References Definition Cross-site scripting (XSS) lets attacker-controlled code run in someone's browser through a website they use. The browser may treat the malicious code as part of the website. HTTPS protects transport but does not make all page content safe. A customer may include “XSS” in a supplier security questionnaire or spreadsheet. They want to understand whether this topic affects the service you provide and what safeguards or evidence support your answer. Cross-site scripting (XSS) is a website weakness that allows attacker-controlled code to execute in another person's browser. The code is delivered through a site the person visits, so the browser may treat it as belonging to that site. The unsafe content might be stored in a comment or profile and shown later, reflected from a request, or produced by the page's own handling of data. Depending on the weakness and browser protections, it can alter what the person sees or perform actions in their session. It does not always mean the website's server has been taken over. Hypothetical example: a small software company's support dashboard displays a customer's submitted text as active page content. A malicious submission runs code when a support agent opens the ticket. The dashboard's use of HTTPS does not prevent that application flaw. Developers need context-appropriate output encoding and safe handling of any intentionally allowed HTML. Content security policies can provide additional defence, but should not replace fixing unsafe code. Encode output for its context and handle intentionally allowed HTML safely. Test every place user-supplied content appears; a content security policy adds a layer but does not replace fixing unsafe rendering. A generic claim that all input is filtered does not explain whether each output context is safe. Sources: OWASP cross-site scripting overview; OWASP XSS prevention guidance. References OWASP cross-site scripting overview OWASP XSS prevention guidance Wikipedia: Cross-site scripting Page progress 0% You’re here On this page Definition References How this term connects Related terms SQL injection SQL injection happens when unsafe handling of input lets an attacker change the database commands an application runs. Session hijacking Session hijacking lets an attacker use someone else's active sign-in session to access a service as that person. Exploit An exploit is code or a method that takes advantage of a security weakness to produce an unintended result. ## GlossaryDefinitionSummary Definition Cross-site scripting (XSS) lets attacker-controlled code run in someone's browser through a website they use. The browser may treat the malicious code as part of the website. HTTPS protects transport but does not make all page content safe.