graphql playground 在web页面生成时对输入的转义处理不恰当(跨站脚本)

admin 2023-11-30 18:56:32 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 graphql playground 在web页面生成时对输入的转义处理不恰当(跨站脚本)

CVE编号

CVE-2021-41249

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-11-05
漏洞描述
GraphQL Playground is a GraphQL IDE for development of graphQL focused applications. All versions of graphql-playground-react older than [email protected] are vulnerable to compromised HTTP schema introspection responses or schema prop values with malicious GraphQL type names, exposing a dynamic XSS attack surface that can allow code injection on operation autocomplete. In order for the attack to take place, the user must load a malicious schema in graphql-playground. There are several ways this can occur, including by specifying the URL to a malicious schema in the endpoint query parameter. If a user clicks on a link to a GraphQL Playground installation that specifies a malicious server, arbitrary JavaScript can run in the user's browser, which can be used to exfiltrate user credentials or other harmful goals. If you are using graphql-playground-react directly in your client app, upgrade to version 1.7.28 or later.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/graphql/graphiql/security/advisories/GHSA-x4r7-m2q9-69c8
https://github.com/graphql/graphql-playground/commit/b8a956006835992f12c46b90...
https://github.com/graphql/graphql-playground/security/advisories/GHSA-59r9-6jp6-jcm7
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 graphql playground * Up to (excluding) 1.7.28
阿里云评分 4.1
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0