mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1532] Web UI should serve blank page when disabled #1079
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1079
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NathanSweet on GitHub (Jan 4, 2026).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1532
With no web UI, ntfy serves up HTML, JavaScript, and CSS that makes it obvious ntfy is running on the port. Even the page title is "ntfy web". This gives an attacker a lot of information.
Can it serve a blank page instead? Ideally with a 404 header. With no web UI, nothing should be there.
Also
favicon.icoandapple-touch-icon.pngshouldn't be served. I would like only the endpoints without any trace of ntfy or the web UI.Hiding this information isn't security, but there is no reason to explicitly tell an attacker exactly what is running. With the web UI disabled, there should be no trace of it.
@binwiederhier commented on GitHub (Jan 4, 2026):
This isn't quite accurate. Your browser cache is showing cached stuff.
@NathanSweet commented on GitHub (Jan 4, 2026):
Gah, you're right! Silly browser strikes again. Sorry for the trouble.