https://en.wikipedia.org/wiki/Cross-site_scripting

Definition

Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications.

XSS enables attackers to inject client-side scripts into web pages viewed by other users.

A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same-origin policy.

Cross-site scripting carried out on websites accounted for roughly 84% of all security vulnerabilities documented by Symantec as of 2007.[1]

Bug bounty company HackerOne in 2017 reported that XSS is still a major threat vector.[2]

XSS effects vary in range from petty nuisance to significant security risk, depending on the sensitivity of the data handled by the vulnerable site and the nature of any security mitigation implemented by the site's owner.

Types

There is no single, standardized classification of cross-site scripting flaws, but most experts distinguish between at least two primary flavors of XSS flaws: non-persistent and persistent.

Some sources further divide these two groups into traditional (caused by server-side code flaws) and DOM-based (in client-side code).

Non-persistent (reflected)

Persistent (or stored)

Server-side versus DOM-based vulnerabilities

Self-XSS

Mutated XSS (mXSS)

Example

https://www.owasp.org/images/2/22/20110412-aspnet_viewstate_security-alexandre.pdf

最新文章

  1. 根据ip判断返回城市名称查询当地天气
  2. [译]Writing Custom Middleware in ASP.NET Core 1.0
  3. div文字超出
  4. Java多线程编程核心技术---对象及变量的并发访问(一)
  5. Maven中手动引用第三方jar包
  6. eclipse汉化过程
  7. tornado的cookie和secure cookie
  8. 【JS】Intermediate2:Events and Callbacks
  9. G - Island Transport - hdu 4280(最大流)
  10. Mysql主从原理
  11. 【HNOI2004】宠物收养所(splay)
  12. 加密传输:每位数字+6,然后用除以9的余数代替该数字, 在把第一位和第四位交换,第二位和第三位交换,例如3276->3840
  13. python基础学习之文件操作&函数
  14. 快速开发工具:Servoy
  15. hadoop2.4.0伪分布式搭建以及分布式关机重启后datanode没起来的解决办法
  16. mybatis通用mapper源码解析(二)
  17. Java Singleton Implementation
  18. 火狐FireFox57不支持Tab Mix Plus插件的问题
  19. 用js取1-100的随机数
  20. day 57 Bootstrap 第一天

热门文章

  1. 01_springmvc基础入门
  2. Asp.net Core Jenkins Docker 实现一键化部署
  3. 进程外Session---数据库Session的配置
  4. hihocoder 1084 (哈希)
  5. 关于Cocos2d-x多线程异步载入资源的问题
  6. 从登录接口的响应结果里提取token
  7. [转] 允许远程用户登录访问mysql的方法
  8. 垂直对齐:vertical-align属性——使用中注意事项
  9. 通过BlukLoad的方式快速导入海量数据
  10. ionic4环境搭建