Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
webjsdev
/
webjs
Public
Notifications
You must be signed in to change notification settings
Fork
69
Star
105
Code
Issues
3
Pull requests
3
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
feat: Origin/Sec-Fetch-Site CSRF check so SSR pages are CDN-cacheable
- #660
#660
Merged
vivek7405
merged 10 commits into
main
webjsdev/webjs:main
from
feat/origin-csrf-cdn-cache
webjsdev/webjs:feat/origin-csrf-cdn-cache
Copy head branch name to clipboard
Jun 20, 2026
Conversation
Commits
10
(10)
Checks
Files changed
Merged
feat: Origin/Sec-Fetch-Site CSRF check so SSR pages are CDN-cacheable
#660
vivek7405
merged 10 commits into
main
webjsdev/webjs:main
from
feat/origin-csrf-cdn-cache
webjsdev/webjs:feat/origin-csrf-cdn-cache
Copy head branch name to clipboard
Commits
Commits on Jun 20, 2026
feat(server): Origin/Sec-Fetch-Site CSRF check, drop the token cookie
Show description for 5fc9647
t
committed
5fc9647
View commit details
Copy full SHA for 5fc9647
Browse repository at this point
feat: webjs.allowedOrigins config + opt the static apps into CDN caching
Show description for a889b5b
t
committed
a889b5b
View commit details
Copy full SHA for a889b5b
Browse repository at this point
docs: sync CSRF surfaces to the Origin/Sec-Fetch-Site model
Show description for 1611e93
t
committed
1611e93
View commit details
Copy full SHA for 1611e93
Browse repository at this point
test(e2e): assert no CSRF cookie on GET (Origin-checked model)
Show description for e71dcf4
t
committed
e71dcf4
View commit details
Copy full SHA for e71dcf4
Browse repository at this point
fix(server): drop dead webjs_csrf cache carve-out; migrate tests to origin model
Show description for baa8337
t
committed
baa8337
View commit details
Copy full SHA for baa8337
Browse repository at this point
docs(server): note the x-forwarded-host proxy-trust assumption in csrf.js
Show description for a149cf9
t
committed
a149cf9
View commit details
Copy full SHA for a149cf9
Browse repository at this point
docs/fix: clear remaining CSRF-cookie drift + tolerate allowlist trailing slash
Show description for b1b7a43
t
committed
b1b7a43
View commit details
Copy full SHA for b1b7a43
Browse repository at this point
test(server): refresh testing-helpers file-header comment for the origin model
Show description for 9d4bce9
t
committed
9d4bce9
View commit details
Copy full SHA for 9d4bce9
Browse repository at this point
test(bun): assert the Origin CSRF check + cookieless SSR over the real socket
Show description for 4c89e2a
t
committed
4c89e2a
View commit details
Copy full SHA for 4c89e2a
Browse repository at this point
fix(test): migrate the root ssr.test.js CSRF-cookie assertion to cookieless
Show description for e7dc8bb
t
committed
e7dc8bb
View commit details
Copy full SHA for e7dc8bb
Browse repository at this point
You can’t perform that action at this time.