[PR #4044] [MERGED] Security related #5586

Closed
opened 2026-10-31 20:47:59 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/4044
Author: @MHSanaei
Created: 4/19/2026
Status: ✅ Merged
Merged: 4/19/2026
Merged by: @MHSanaei

Base: main ← Head: security-related-


📝 Commits (3)

  • 91ee295 Add SSRF protection for custom geo downloads
  • f9fe4b2 Add path traversal protection for custom geo
  • 554202e fix

📊 Changes

6 files changed (+165 additions, -32 deletions)

View changed files

📝 sub/subClashService.go (+3 -3)
📝 web/controller/custom_geo.go (+6 -0)
📝 web/entity/entity.go (+3 -3)
📝 web/service/custom_geo.go (+124 -14)
📝 web/service/custom_geo_test.go (+20 -3)
📝 web/service/setting.go (+9 -9)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/4044 **Author:** [@MHSanaei](https://github.com/MHSanaei) **Created:** 4/19/2026 **Status:** ✅ Merged **Merged:** 4/19/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `security-related-` --- ### 📝 Commits (3) - [`91ee295`](https://github.com/MHSanaei/3x-ui/commit/91ee29519932f0b719a582bfca4a4ae9ce4ed7e1) Add SSRF protection for custom geo downloads - [`f9fe4b2`](https://github.com/MHSanaei/3x-ui/commit/f9fe4b2e5e370c76c259b51b18697d0b53230cb3) Add path traversal protection for custom geo - [`554202e`](https://github.com/MHSanaei/3x-ui/commit/554202e7d14111cbace775f8638d9344a4268b94) fix ### 📊 Changes **6 files changed** (+165 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `sub/subClashService.go` (+3 -3) 📝 `web/controller/custom_geo.go` (+6 -0) 📝 `web/entity/entity.go` (+3 -3) 📝 `web/service/custom_geo.go` (+124 -14) 📝 `web/service/custom_geo_test.go` (+20 -3) 📝 `web/service/setting.go` (+9 -9) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:59 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5586
No description provided.