Giter Club home page Giter Club logo

xtgitvote's Introduction

👋 Hi there

github-metrics.svg

📣 External links

 

❄️ Skills

    

🎄 Others

  • 🔭 Most Use: Python
  • 📫 E-mail: [email protected]
  • 🌐 Languages: 简体中文, English

xtgitvote's People

Stargazers

 avatar

Watchers

 avatar

xtgitvote's Issues

XSS漏洞

在输入投票标题时,输入html代码未转义,存在非常严重的安全漏洞
如:

  1. 在iframe srcdoc内使用script读取cookie中的accessToken
  2. 使用script/meta导致页面跳转

解决办法:

  1. 使用 HTMLElement.innerText改变文本
  2. 使用JQuery.text函数改变文本
    而不是使用${文本}

TODO

  • 防刷票:在vote.html内加载投票列表选项人数时,先创建一个空列表,加载一个用户后将用户名加入此列表,并且在加入用户前判断用户名是否处于列表中,若已经在列表中,则忽略此条comment
  • 登录界面同意协议:在点击右上角头像后,弹出一个窗口
  • #3
  • 用户黑名单、白名单
  • vote.html页面布局优化,显示发起者和管理员操作按钮
  • 创建投票权限检查:在打开创建新投票的窗口后,点击提交按钮时先检查是否有权限,不创建无label的issue
  • 自动判断投票状态,是否显示结束,隐藏按钮
  • please accept our cookie ,点同意后cookie不会随着浏览器关闭清除
  • #6
  • 创建投票允许删除最后一项

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.