CVE-2026-27612

MEDIUM
中文标题:
(暂无数据)
英文标题:
Repostat Vulnerable to Reflected Cross-Site Scripting (XSS) via repo prop in RepoCard
CVSS分数: 6.1
发布时间: 2026-02-25 02:38:05
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

(暂无数据)

英文描述:

Repostat is a React component to fetch and display GitHub repository info. Prior to version 1.0.1, the `RepoCard` component is vulnerable to Reflected Cross-Site Scripting (XSS). The vulnerability occurs because the component uses React's `dangerouslySetInnerHTML` to render the repository name (`repo` prop) during the loading state without any sanitization. If a developer using this package passes unvalidated user input directly into the `repo` prop (for example, reading it from a URL query parameter), an attacker can execute arbitrary JavaScript in the context of the user's browser. In version 1.0.1, the use of dangerouslySetInnerHTML has been removed, and the repo prop is now safely rendered using standard React JSX data binding, which automatically escapes HTML entities.

CWE类型:
CWE-79
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
denpiligrim repostat < 1.0.1 - - cpe:2.3:a:denpiligrim:repostat:<_1.0.1:*:*:*:*:*:*:*
denpiligrim repostat * - - cpe:2.3:a:denpiligrim:repostat:*:*:*:*:*:node.js:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/denpiligrim/repostat/security/advisories/GHSA-fm8c-6m29-rp6j x_refsource_CONFIRM
cve.org
访问
https://github.com/denpiligrim/repostat/commit/715df5f73359d222fd7876e948d14290180e3c88 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
6.1
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
机密性
LOW
完整性
LOW
可用性
NONE
时间信息
发布时间:
2026-02-25 02:38:05
修改时间:
2026-02-25 02:38:05
创建时间:
2026-02-26 06:00:01
更新时间:
2026-02-28 06:00:02
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-27612 2026-02-26 03:19:54 2026-02-25 22:00:01
NVD nvd_CVE-2026-27612 2026-02-26 02:00:04 2026-02-25 22:00:04
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v3 NVD
2026-02-28 06:00:02
affected_products_count: 1 → 2
查看详细变更
  • affected_products_count: 1 -> 2
v2 NVD
2026-02-26 06:00:04
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']