Skip to content

fix: restrict KML image downloads to http/https schemes#1674

Merged
dkhawk merged 2 commits intomainfrom
fix/ssrf-vulnerability
Apr 15, 2026
Merged

fix: restrict KML image downloads to http/https schemes#1674
dkhawk merged 2 commits intomainfrom
fix/ssrf-vulnerability

Conversation

@kikoso
Copy link
Copy Markdown
Collaborator

@kikoso kikoso commented Apr 15, 2026

Addresses a security vulnerability by enforcing that KML external resources are only downloaded over HTTP/HTTPS, preventing local file access and SSRF. Also removes the fallback to BitmapFactory.decodeFile().

@googlemaps-bot
Copy link
Copy Markdown
Contributor

googlemaps-bot commented Apr 15, 2026

Code Coverage

Overall Project 40.22% -0.02% 🍏
Files changed 82.35% 🍏

File Coverage
KmlRenderer.java 6.99% -0.64% 🍏

@dkhawk dkhawk merged commit 898ae8f into main Apr 15, 2026
8 of 9 checks passed
@dkhawk dkhawk deleted the fix/ssrf-vulnerability branch April 15, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants