| 标题 | yi-ge get-header-ip master CWE-79 |
|---|
| 描述 | in file ip.php
if (isset($_GET['callback'])) {
echo trim($_GET['callback']) . '(' . json_encode(['ip' => $ip]) . ')';
} else {
echo $ip . "\n";
}
CWE: CWE-79-Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CWE Description: The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
|---|
| 来源 | ⚠️ https://github.com/yi-ge/get-header-ip/blob/master/ip.php#L32 |
|---|
| 用户 | dev03303 (UID 85336) |
|---|
| 提交 | 2025-09-10 09時08分 (8 月前) |
|---|
| 管理 | 2025-09-25 07時54分 (15 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 325814 [yi-ge get-header-ip 直到 589b23d0eb0043c310a6a13ce4bbe2505d0d0b15 ip.php callback 跨网站脚本] |
|---|
| 积分 | 20 |
|---|