René's URL Explorer Experiment


Title: fix(deps): update dependency koa to v2.16.2 [security] by renovate[bot] · Pull Request #238 · 142vip/JavaScriptCollection · GitHub

Open Graph Title: fix(deps): update dependency koa to v2.16.2 [security] by renovate[bot] · Pull Request #238 · 142vip/JavaScriptCollection

X Title: fix(deps): update dependency koa to v2.16.2 [security] by renovate[bot] · Pull Request #238 · 142vip/JavaScriptCollection

Description: This PR contains the following updates: Package Change Age Confidence koa (source) 2.15.4 -> 2.16.2 WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information. GitHub Vulnerability Alerts CVE-2025-8129 Summary In the latest version of Koa, the back method used for redirect operations adopts an insecure implementation, which uses the user-controllable referrer header as the redirect target. Details on the API document https://www.koajs.net/api/response#responseredirecturl-alt, we can see: response.redirect(url, [alt]) Performs a [302] redirect to url. The string "back" is specially provided for Referrer support, using alt or "/" when Referrer does not exist. ctx.redirect('back'); ctx.redirect('back', '/index.html'); ctx.redirect('/login'); ctx.redirect('http://google.com'); however, the "back" method is insecure: https://github.com/koajs/koa/blob/master/lib/response.js#L322 back (alt) { const url = this.ctx.get('Referrer') || alt || '/' this.redirect(url) }, Referrer Header is User-Controlled. PoC there is a demo for POC: const Koa = require('koa') const serve = require('koa-static') const Router = require('@​koa/router') const path = require('path') const app = new Koa() const router = new Router() // Serve static files from the public directory app.use(serve(path.join(__dirname, 'public'))) // Define routes router.get('/test', ctx => { ctx.redirect('back', '/index1.html') }) router.get('/test2', ctx => { ctx.redirect('back') }) router.get('/', ctx => { ctx.body = 'Welcome to the home page! Try accessing /test, /test2' }) app.use(router.routes()) app.use(router.allowedMethods()) const port = 3000 app.listen(port, () => { console.log(`Server running at http://localhost:${port}`) }) Proof Of Concept GET /test HTTP/1.1 Host: 127.0.0.1:3000 Referer: http://www.baidu.com Connection: close GET /test2 HTTP/1.1 Host: 127.0.0.1:3000 Referer: http://www.baidu.com Connection: close Impact https://learn.snyk.io/lesson/open-redirect/ Release Notes koajs/koa (koa) v2.16.2 Compare Source What's Changed fix: only allow back redirect to the same origin referer by @​fengmk2 in https://github.com/koajs/koa/pull/1898 Full Changelog: koajs/koa@v2.16.1...v2.16.2 v2.16.1 Compare Source fix: don't render redirect values in anchor ref v2.16.0 Compare Source This is a backported release to fix core underlying issue with HEAD requests when using http2.createSecureServer. See discussion at https://github.com/koajs/koa/pull/1593 and https://github.com/koajs/koa/issues/1547. fix missing cleanup, if response socket is no longer writeable (issue 1547) (https://github.com/koajs/koa/pull/1593) 399cb6b Configuration 📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined). 🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied. ♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 Ignore: Close this PR and you won't be reminded about this update again. If you want to rebase/retry this PR, check this box This PR was generated by Mend Renovate. View the repository job log.

Open Graph Description: This PR contains the following updates: Package Change Age Confidence koa (source) 2.15.4 -> 2.16.2 WarningSome dependencies could not be looked up. Check the Dependency Dashboard f...

X Description: This PR contains the following updates: Package Change Age Confidence koa (source) 2.15.4 -> 2.16.2 WarningSome dependencies could not be looked up. Check the Dependency Dashboa...

Opengraph URL: https://github.com/142vip/JavaScriptCollection/pull/238

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:7618d807-07f5-e9f2-eb73-3217c3c3e8e6
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idB710:3F510B:2017D5:29858A:698E7BF0
html-safe-noncefc656d7eef7daa7fc2b315c8dde1e15395c114670d1811221ad329b5ed4749e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzEwOjNGNTEwQjoyMDE3RDU6Mjk4NThBOjY5OEU3QkYwIiwidmlzaXRvcl9pZCI6IjI3MDI1MDExMTY0MjQxMjU0MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1720e434ccb5dc32b9146066c59dc03e426187fa24b1ee195d468d36afbd6188
hovercard-subject-tagpull_request:2702175735
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/142vip/JavaScriptCollection/pull/238/checks
twitter:imagehttps://avatars.githubusercontent.com/in/2740?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/2740?s=400&v=4
og:image:altThis PR contains the following updates: Package Change Age Confidence koa (source) 2.15.4 -> 2.16.2 WarningSome dependencies could not be looked up. Check the Dependency Dashboard f...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-cache
go-importgithub.com/142vip/JavaScriptCollection git https://github.com/142vip/JavaScriptCollection.git
octolytics-dimension-user_id105834656
octolytics-dimension-user_login142vip
octolytics-dimension-repository_id268041774
octolytics-dimension-repository_nwo142vip/JavaScriptCollection
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id268041774
octolytics-dimension-repository_network_root_nwo142vip/JavaScriptCollection
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef7a12861f7011eecb14bcc4388a767d829a52dfc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/142vip/JavaScriptCollection/pull/238/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2F142vip%2FJavaScriptCollection%2Fpull%2F238%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2F142vip%2FJavaScriptCollection%2Fpull%2F238%2Fchecks
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=142vip%2FJavaScriptCollection
Reloadhttps://github.com/142vip/JavaScriptCollection/pull/238/checks
Reloadhttps://github.com/142vip/JavaScriptCollection/pull/238/checks
Reloadhttps://github.com/142vip/JavaScriptCollection/pull/238/checks
142vip https://github.com/142vip
JavaScriptCollectionhttps://github.com/142vip/JavaScriptCollection
Notifications https://github.com/login?return_to=%2F142vip%2FJavaScriptCollection
Fork 3 https://github.com/login?return_to=%2F142vip%2FJavaScriptCollection
Star 16 https://github.com/login?return_to=%2F142vip%2FJavaScriptCollection
Code https://github.com/142vip/JavaScriptCollection
Issues 2 https://github.com/142vip/JavaScriptCollection/issues
Pull requests 1 https://github.com/142vip/JavaScriptCollection/pulls
Actions https://github.com/142vip/JavaScriptCollection/actions
Projects 0 https://github.com/142vip/JavaScriptCollection/projects
Wiki https://github.com/142vip/JavaScriptCollection/wiki
Security 0 https://github.com/142vip/JavaScriptCollection/security
Insights https://github.com/142vip/JavaScriptCollection/pulse
Code https://github.com/142vip/JavaScriptCollection
Issues https://github.com/142vip/JavaScriptCollection/issues
Pull requests https://github.com/142vip/JavaScriptCollection/pulls
Actions https://github.com/142vip/JavaScriptCollection/actions
Projects https://github.com/142vip/JavaScriptCollection/projects
Wiki https://github.com/142vip/JavaScriptCollection/wiki
Security https://github.com/142vip/JavaScriptCollection/security
Insights https://github.com/142vip/JavaScriptCollection/pulse
Sign up for GitHub https://github.com/signup?return_to=%2F142vip%2FJavaScriptCollection%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2F142vip%2FJavaScriptCollection%2Fissues%2Fnew%2Fchoose
renovatehttps://github.com/apps/renovate
nexthttps://github.com/142vip/JavaScriptCollection/tree/next
renovate/koa-npm-koa-vulnerabilityhttps://github.com/142vip/JavaScriptCollection/tree/renovate/koa-npm-koa-vulnerability
Conversation 1 https://github.com/142vip/JavaScriptCollection/pull/238
Commits 1 https://github.com/142vip/JavaScriptCollection/pull/238/commits
Checks 3 https://github.com/142vip/JavaScriptCollection/pull/238/checks
Files changed https://github.com/142vip/JavaScriptCollection/pull/238/files
Please reload this pagehttps://github.com/142vip/JavaScriptCollection/pull/238/checks
Please reload this pagehttps://github.com/142vip/JavaScriptCollection/pull/238/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2F142vip%2FJavaScriptCollection%2Fpull%2F238%2Fchecks
fix(deps): update dependency koa to v2.16.2 [security] https://github.com/142vip/JavaScriptCollection/pull/238/checks#top
Please reload this pagehttps://github.com/142vip/JavaScriptCollection/pull/238/checks
CodeQL on: pull_request https://github.com/142vip/JavaScriptCollection/actions/runs/16627949147
Analyze https://github.com/142vip/JavaScriptCollection/actions/runs/16627949147/job/47049503497?pr=238
CI on: pull_request https://github.com/142vip/JavaScriptCollection/actions/runs/16627949148
基础编译构建 https://github.com/142vip/JavaScriptCollection/actions/runs/16627949148/job/47049503441?pr=238
CodeQL https://github.com/142vip/JavaScriptCollection/pull/238/checks?check_run_id=47049601156
https://github.com/142vip/JavaScriptCollection/pull/238/checks#annotation:3:67
https://github.com/142vip/JavaScriptCollection/pull/238/checks#annotation:3:66
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.