Skip to content

Fix URL spoofing issue with imported URLs - #9754

Merged
Wires77 merged 1 commit into
PathOfBuildingCommunity:devfrom
Wires77:fix_ssrf
Apr 14, 2026
Merged

Fix URL spoofing issue with imported URLs#9754
Wires77 merged 1 commit into
PathOfBuildingCommunity:devfrom
Wires77:fix_ssrf

Conversation

@Wires77

@Wires77Wires77 commented Apr 13, 2026

Copy link
Copy Markdown
Member

Fixes#9753

Description of the problem being solved:

An import URL could be queried by PoB if an attacker got their URL to match one of the allowed website patterns. This would give an attacker access to a user's IP address when they hit the malicious server. I could also put in the same protection for regexURL, but every instance where we use that it's being guarded by matchURL in the first place.

Before:
image
After:
image
image

@Wires77
Wires77 marked this pull request as ready for review April 14, 2026 01:43
@Wires77Wires77 self-assigned this Apr 14, 2026
@Wires77Wires77 added pob2 Label for features that should be ported over to PoB-PoE2 enhancement New feature, calculation, or mod bug Something isn't working and removed enhancement New feature, calculation, or mod labels Apr 14, 2026
@Wires77
Wires77 merged commit c23aab9 into PathOfBuildingCommunity:devApr 14, 2026
3 checks passed
@Wires77Wires77 removed the enhancement New feature, calculation, or mod label Apr 14, 2026
github-actionsBot pushed a commit to PathOfBuildingCommunity/PathOfBuilding-PoE2 that referenced this pull request Apr 14, 2026
LocalIdentity pushed a commit to PathOfBuildingCommunity/PathOfBuilding-PoE2 that referenced this pull request Apr 25, 2026
* Apply changes from PathOfBuildingCommunity/PathOfBuilding#9754
* Fix conflicts
---------
Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
bct8925 pushed a commit to bct8925/PathOfBuilding-PoE2 that referenced this pull request Jun 19, 2026
* Apply changes from PathOfBuildingCommunity/PathOfBuilding#9754
* Fix conflicts
---------
Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't workingpob2Label for features that should be ported over to PoB-PoE2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSRF Vulnerability in ImportTab.lua - importCodeHandle() function

1 participant

@Wires77