Skip to content

Harden server against SSR through rebinding#68

Open
SniperSister wants to merge 1 commit into
mainfrom
feature/ssr-hardening
Open

Harden server against SSR through rebinding#68
SniperSister wants to merge 1 commit into
mainfrom
feature/ssr-hardening

Conversation

@SniperSister
Copy link
Copy Markdown
Collaborator

No description provided.

@SniperSister SniperSister requested a review from HLeithner May 1, 2026 12:30
@SniperSister SniperSister self-assigned this May 1, 2026
Comment on lines +50 to +56
if (!filter_var(
$ip,
FILTER_VALIDATE_IP,
FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE
)) {
return false;
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add the CGNAT IP range 100.64.0.0/10

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.

2 participants