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
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
.
yahoo
/
serialize-javascript
Public
Notifications
You must be signed in to change notification settings
Fork
215
Star
2.9k
Code
Issues
32
Pull requests
11
Actions
Projects
Security and quality
3
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
fix: fix XSS bypass via split
</script
payload across function bodies
- #226
#226
Merged
okuryu
merged 6 commits into
main
yahoo/serialize-javascript:main
from
okuryu-investigate-issue-220-xss
yahoo/serialize-javascript:okuryu-investigate-issue-220-xss
Copy head branch name to clipboard
Aug 29, 2026
Conversation
Commits
6
(6)
Checks
Files changed
Merged
fix: fix XSS bypass via split
</script
payload across function bodies
#226
okuryu
merged 6 commits into
main
yahoo/serialize-javascript:main
from
okuryu-investigate-issue-220-xss
yahoo/serialize-javascript:okuryu-investigate-issue-220-xss
Copy head branch name to clipboard
Commits
Commits on Aug 26, 2026
Fix XSS bypass via </script split across function bodies (#220)
Show description for c731e6e
okuryu
and
Copilot
committed
c731e6e
View commit details
Copy full SHA for c731e6e
Browse repository at this point
Remove backslash from script-close delimiter check
Show description for 5cdf61b
okuryu
and
Copilot
committed
5cdf61b
View commit details
Copy full SHA for 5cdf61b
Browse repository at this point
Make script-close escaping lexically aware to avoid breaking valid JS
Show description for 0122baf
okuryu
and
Copilot
committed
0122baf
View commit details
Copy full SHA for 0122baf
Browse repository at this point
Fix quadratic scan and regex-literal quote misclassification
Show description for e26ddc7
okuryu
and
Copilot
committed
e26ddc7
View commit details
Copy full SHA for e26ddc7
Browse repository at this point
Treat regex bracket character classes as opaque in STRING_OR_COMMENT_REGEXP
Show description for 72d42f1
okuryu
and
Copilot
committed
72d42f1
View commit details
Copy full SHA for 72d42f1
Browse repository at this point
Simplify explanatory comments in index.js
Show description for 1f2ee03
okuryu
and
Copilot
committed
1f2ee03
View commit details
Copy full SHA for 1f2ee03
Browse repository at this point
You can’t perform that action at this time.