René's URL Explorer Experiment


Title: [APS-18945, APS-18946] fix: bump org.json and testng to patch security vulnerabilities by karanshah-browserstack · Pull Request #4 · browserstack/cucumber-java-playwright-browserstack · GitHub

Open Graph Title: [APS-18945, APS-18946] fix: bump org.json and testng to patch security vulnerabilities by karanshah-browserstack · Pull Request #4 · browserstack/cucumber-java-playwright-browserstack

X Title: [APS-18945, APS-18946] fix: bump org.json and testng to patch security vulnerabilities by karanshah-browserstack · Pull Request #4 · browserstack/cucumber-java-playwright-browserstack

Description: Security Fix: APS-18945 + APS-18946 Issues Fixed Ticket Package Vulnerability CVSS APS-18945 `org.json:json` Stack overflow / DoS via crafted JSON/XML (GHSA-3vqj-43w4-2q58) 7.5 APS-18946 `org.testng:testng` Path traversal in XML File Parser (GHSA-rc2q-x9mf-w3vf) 7.8 Root Cause Both dependencies were pinned to old, vulnerable versions in `pom.xml`: `org.json:json` at `20210307` — vulnerable to stack overflow DoS when parsing deeply nested XML/JSON `org.testng:testng` at `7.4.0` — vulnerable to path traversal via the `testngXmlExistsInJar` function Fix Applied Single `pom.xml` change bumping both version properties: ``` 7.4.0 → 7.5.1 20210307 → 20231013 ``` `org.testng:testng` → `7.5.1` (backport of the Zip Slip / path traversal fix from the 7.7.0 patch) `org.json:json` → `20231013` (includes the stack overflow nesting depth limit fix from 20230227 and later) Testing Dependency Resolution (fix branch): `mvn dependency:resolve` → `BUILD SUCCESS` `org.testng:testng:jar:7.5.1:test` ✅ resolved `org.json:json:jar:20231013:test` ✅ resolved Compilation (fix branch): `mvn compile` → `BUILD SUCCESS` ✅ BrowserStack E2E Session Run (karanshah14's account): Build: testcucumberplaywrightwrapperdefault_AUJxnn Dashboard: https://automate.browserstack.com/dashboard/v2/builds/b7d8cec5cfeedc8c562ded9924e7dec00fcfc564 Overall: ✅ 2/2 sessions passed Session Browser OS Status Verify Google Homepage Title playwright-webkit 26.0 OS X Ventura ✅ passed — view session Verify Google Homepage Title chrome 147.0 OS X Sonoma ✅ passed — view session Note: Two pre-existing issues (unrelated to the security patches) were also fixed: (1) `URLEncoder.encode` used the `Charset` overload (Java 10+ only) — changed to pass `"UTF-8"` as a String for Java 8 compat; (2) Tests require Java 11+ to run — the BrowserStack Java SDK javaagent fails on Java 8 due to bytecode instrumentation incompatibility with Playwright 1.55.0. Note: Dependabot PRs #2 and #3 cover these same fixes individually. This PR supersedes both with a single combined fix. Once this PR is merged, PRs #2 and #3 can be closed. Jira Tickets APS-18945 — org.json:json stack overflow vulnerability APS-18946 — TestNG path traversal vulnerability Checklist Security issues addressed (both CVEs patched via version bumps) Dependencies resolve without conflicts (`mvn dependency:resolve` → BUILD SUCCESS) Compilation passes (`mvn compile` → BUILD SUCCESS) BrowserStack E2E sessions verified ✅ (2/2 passed — karanshah14's account) Merge and close Dependabot PRs #2 and #3

Open Graph Description: Security Fix: APS-18945 + APS-18946 Issues Fixed Ticket Package Vulnerability CVSS APS-18945 `org.json:json` Stack overflow / DoS via crafted JSON/XML (GHSA-3vqj-43w4-2q58) 7.5 APS-18946 `...

X Description: Security Fix: APS-18945 + APS-18946 Issues Fixed Ticket Package Vulnerability CVSS APS-18945 `org.json:json` Stack overflow / DoS via crafted JSON/XML (GHSA-3vqj-43w4-2q58) 7.5 APS-18946 `...

Opengraph URL: https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:888ba9e2-b922-c384-671a-eea89e9e1139
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB66A:1612C1:11DE34:18AB9F:6B04646C
html-safe-nonce963d85af115c0a8f1cdb1941b6003e067f92df7129bc79e983025ea3861cde68
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjZBOjE2MTJDMToxMURFMzQ6MThBQjlGOjZCMDQ2NDZDIiwidmlzaXRvcl9pZCI6IjU2NTA5MDIxMTgyNTM3NDkzNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaceb53c4787a71665fd56885ed624e05a2730e1780bdb0c42fb6907acceb784c8a
hovercard-subject-tagpull_request:3629172960
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
twitter:imagehttps://avatars.githubusercontent.com/u/64479353?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/64479353?s=400&v=4
og:image:altSecurity Fix: APS-18945 + APS-18946 Issues Fixed Ticket Package Vulnerability CVSS APS-18945 `org.json:json` Stack overflow / DoS via crafted JSON/XML (GHSA-3vqj-43w4-2q58) 7.5 APS-18946 `...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/browserstack/cucumber-java-playwright-browserstack git https://github.com/browserstack/cucumber-java-playwright-browserstack.git
octolytics-dimension-user_id1119453
octolytics-dimension-user_loginbrowserstack
octolytics-dimension-repository_id1219714444
octolytics-dimension-repository_nwobrowserstack/cucumber-java-playwright-browserstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1219714444
octolytics-dimension-repository_network_root_nwobrowserstack/cucumber-java-playwright-browserstack
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release03e114520787ad27289207f153520ef97461127c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fcucumber-java-playwright-browserstack%2Fpull%2F4%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fcucumber-java-playwright-browserstack%2Fpull%2F4%2Ffiles
Sign uphttps://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%2Ffiles&source=header-repo&source_repo=browserstack%2Fcucumber-java-playwright-browserstack
Reloadhttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
Reloadhttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
Reloadhttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
browserstackhttps://github.com/browserstack
cucumber-java-playwright-browserstackhttps://github.com/browserstack/cucumber-java-playwright-browserstack
Codehttps://github.com/browserstack/cucumber-java-playwright-browserstack
Issueshttps://github.com/browserstack/cucumber-java-playwright-browserstack/issues
Pull requests2 (2)https://github.com/browserstack/cucumber-java-playwright-browserstack/pulls
Actionshttps://github.com/browserstack/cucumber-java-playwright-browserstack/actions
Projectshttps://github.com/browserstack/cucumber-java-playwright-browserstack/projects
Security and qualityhttps://github.com/browserstack/cucumber-java-playwright-browserstack/security
Insightshttps://github.com/browserstack/cucumber-java-playwright-browserstack/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fbrowserstack%2Fcucumber-java-playwright-browserstack%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fbrowserstack%2Fcucumber-java-playwright-browserstack%2Fissues%2Fnew%2Fchoose
karanshah-browserstackhttps://github.com/karanshah-browserstack
mainhttps://github.com/browserstack/cucumber-java-playwright-browserstack/tree/main
fix/APS-18945-18946-dependency-security-patcheshttps://github.com/browserstack/cucumber-java-playwright-browserstack/tree/fix/APS-18945-18946-dependency-security-patches
Conversation 0 https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4
Commits 4 https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/commits
Checks 5 https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/checks
Files changed https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
Please reload this pagehttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
[APS-18945, APS-18946] fix: bump org.json and testng to patch security vulnerabilities https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#top
Show all changes 4 commits https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
5207295 fix(security): bump vulnerable dependencies for path traversal and Do… karanshah-browserstack May 5, 2026 https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/commits/5207295cc900c3827ea53794ce892706d684d989
cc65b1f fix(compat): use String charset in URLEncoder.encode for Java 8 [APS-… karanshah-browserstack May 5, 2026 https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/commits/cc65b1fc65f14e6488e1dbd328090584f357bb20
9e495f7 Merge branch 'main' into fix/APS-18945-18946-dependency-security-patches karanshah-browserstack May 7, 2026 https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/commits/9e495f7e47a4570728999e65f156dd218c872ad4
b99e050 Merge branch 'main' into fix/APS-18945-18946-dependency-security-patches karanshah-browserstack May 7, 2026 https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/commits/b99e0500673b3dede17727850e584421152e2f9a
Clear filters https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
Please reload this pagehttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
Please reload this pagehttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
StackDemoSteps.java https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-95758967d7a9ac24570759a3e54ce29864fe91308bc84d537ac830a2fabe7039
StackLocalSteps.java https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-a2bfd30c82d43e6ac9fd61745cf6957d91b356ab3aedfcdbcaf95f0efb043ce5
https://github.com/browserstack/cucumber-java-playwright-browserstack/blob/main/CODEOWNERS#L1
src/test/java/com/browserstack/stepdefs/e2e/StackDemoSteps.javahttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-95758967d7a9ac24570759a3e54ce29864fe91308bc84d537ac830a2fabe7039
View file https://github.com/browserstack/cucumber-java-playwright-browserstack/blob/b99e0500673b3dede17727850e584421152e2f9a/src/test/java/com/browserstack/stepdefs/e2e/StackDemoSteps.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/{{ revealButtonHref }}
https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-95758967d7a9ac24570759a3e54ce29864fe91308bc84d537ac830a2fabe7039
https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-95758967d7a9ac24570759a3e54ce29864fe91308bc84d537ac830a2fabe7039
https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-95758967d7a9ac24570759a3e54ce29864fe91308bc84d537ac830a2fabe7039
https://github.com/browserstack/cucumber-java-playwright-browserstack/blob/main/CODEOWNERS#L1
src/test/java/com/browserstack/stepdefs/local/StackLocalSteps.javahttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-a2bfd30c82d43e6ac9fd61745cf6957d91b356ab3aedfcdbcaf95f0efb043ce5
View file https://github.com/browserstack/cucumber-java-playwright-browserstack/blob/b99e0500673b3dede17727850e584421152e2f9a/src/test/java/com/browserstack/stepdefs/local/StackLocalSteps.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/{{ revealButtonHref }}
https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-a2bfd30c82d43e6ac9fd61745cf6957d91b356ab3aedfcdbcaf95f0efb043ce5
https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-a2bfd30c82d43e6ac9fd61745cf6957d91b356ab3aedfcdbcaf95f0efb043ce5
https://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files#diff-a2bfd30c82d43e6ac9fd61745cf6957d91b356ab3aedfcdbcaf95f0efb043ce5
Please reload this pagehttps://github.com/browserstack/cucumber-java-playwright-browserstack/pull/4/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.