Skip to content

存在xss漏洞 #12

Description

@Silver-Glacier

image
此处代码对于scheduleTitle直接进行了.val()获取值,而不是将其直接使用html进行转义,存在XSS漏洞
故可以在输入日程title的地方轻易构造xss
image
推荐防御:使用htmlspecialchars()函数将特殊字符转换为HTML实体

测试单位:山东大学网络空间安全学院

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions