René's URL Explorer Experiment


Title: Python : Improve Xpath Injection Query · Pull Request #6331 · github/codeql · GitHub

Open Graph Title: Python : Improve Xpath Injection Query · Pull Request #6331 · github/codeql

X Title: Python : Improve Xpath Injection Query · Pull Request #6331 · github/codeql

Description: This PR improves my earlier Xpath injection query to use APIGraphs. I can confirm that this change leads to atleast one additional detection in andresriancho/django-moth/.

Open Graph Description: This PR improves my earlier Xpath injection query to use APIGraphs. I can confirm that this change leads to atleast one additional detection in andresriancho/django-moth/.

X Description: This PR improves my earlier Xpath injection query to use APIGraphs. I can confirm that this change leads to atleast one additional detection in andresriancho/django-moth/.

Opengraph URL: https://github.com/github/codeql/pull/6331

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6cfc7ae1-12a1-6e94-1244-b8411debeac1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB470:1E311A:1E32E3B:2BB1B80:6A4D0351
html-safe-nonceac95fd3accbf3e4f3e355cd7d65e49ed396e9265f4cacf0393141acbcd9fdee9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDcwOjFFMzExQToxRTMyRTNCOjJCQjFCODA6NkE0RDAzNTEiLCJ2aXNpdG9yX2lkIjoiMzU0NjYxMTI2NDEyMDQ4ODc4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbba6ee5d1365bd80f9c592664f4979d94342bdd6672ea0c33d6188e744e5749a
hovercard-subject-tagpull_request:692954698
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/github/codeql/pull/6331/files
twitter:imagehttps://avatars.githubusercontent.com/u/10137?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10137?s=400&v=4
og:image:altThis PR improves my earlier Xpath injection query to use APIGraphs. I can confirm that this change leads to atleast one additional detection in andresriancho/django-moth/.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql git https://github.com/github/codeql.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id143040428
octolytics-dimension-repository_nwogithub/codeql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143040428
octolytics-dimension-repository_network_root_nwogithub/codeql
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
releasefb70bd3c4b2bec429781b65419e912c66e2d5581
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql/pull/6331/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F6331%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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%2Fgithub%2Fcodeql%2Fpull%2F6331%2Ffiles
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%2Ffiles&source=header-repo&source_repo=github%2Fcodeql
Reloadhttps://github.com/github/codeql/pull/6331/files
Reloadhttps://github.com/github/codeql/pull/6331/files
Reloadhttps://github.com/github/codeql/pull/6331/files
Please reload this pagehttps://github.com/github/codeql/pull/6331/files
github https://github.com/github
codeqlhttps://github.com/github/codeql
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql
Fork 2k https://github.com/login?return_to=%2Fgithub%2Fcodeql
Star 9.8k https://github.com/login?return_to=%2Fgithub%2Fcodeql
Code https://github.com/github/codeql
Issues 987 https://github.com/github/codeql/issues
Pull requests 424 https://github.com/github/codeql/pulls
Discussions https://github.com/github/codeql/discussions
Actions https://github.com/github/codeql/actions
Projects https://github.com/github/codeql/projects
Models https://github.com/github/codeql/models
Security and quality 0 https://github.com/github/codeql/security
Insights https://github.com/github/codeql/pulse
Code https://github.com/github/codeql
Issues https://github.com/github/codeql/issues
Pull requests https://github.com/github/codeql/pulls
Discussions https://github.com/github/codeql/discussions
Actions https://github.com/github/codeql/actions
Projects https://github.com/github/codeql/projects
Models https://github.com/github/codeql/models
Security and quality https://github.com/github/codeql/security
Insights https://github.com/github/codeql/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
RasmusWLhttps://github.com/RasmusWL
github:mainhttps://github.com/github/codeql/tree/main
Conversation 1 https://github.com/github/codeql/pull/6331
Findings https://github.com/github/codeql/pull/6331/findings
Commits 6 https://github.com/github/codeql/pull/6331/commits
Checks 0 https://github.com/github/codeql/pull/6331/checks
Files changed https://github.com/github/codeql/pull/6331/files
Please reload this pagehttps://github.com/github/codeql/pull/6331/files
Python : Improve Xpath Injection Query https://github.com/github/codeql/pull/6331/files#top
Show all changes 6 commits https://github.com/github/codeql/pull/6331/files
c6c925d Python : Improve Xpath Injection Query Jul 19, 2021 https://github.com/github/codeql/pull/6331/commits/c6c925d67aba30f81c9f8f5538059396864fb38c
2896600 Merge branch 'main' into pythonXpath RasmusWL Sep 24, 2021 https://github.com/github/codeql/pull/6331/commits/289660067cf1fee08ca22969bee75b32a1117ec9
c9640ff Python: Minor adjustments to XPath Injection RasmusWL Sep 24, 2021 https://github.com/github/codeql/pull/6331/commits/c9640ffdbc833bb6f4b9c8e8067e339d9997ece5
913a679 Python: Replace old XPath injection query RasmusWL Sep 24, 2021 https://github.com/github/codeql/pull/6331/commits/913a679ef536ed1a873867d913458e1f3199596a
26d2fbd Python: Fix new XPath injection query RasmusWL Sep 24, 2021 https://github.com/github/codeql/pull/6331/commits/26d2fbd21724cffac47e9ed028885680488087c3
d39df18 Python: Minor test cleanup RasmusWL Sep 24, 2021 https://github.com/github/codeql/pull/6331/commits/d39df18544c3a7a4a6f67d4d8f97691fcb7e62b3
Clear filters https://github.com/github/codeql/pull/6331/files
Please reload this pagehttps://github.com/github/codeql/pull/6331/files
Please reload this pagehttps://github.com/github/codeql/pull/6331/files
XpathInjection.qhelp https://github.com/github/codeql/pull/6331/files#diff-3c571d07d1d86eaade115b4d652173242c43ddd8082be3868a16ec849149c839
XpathInjection.ql https://github.com/github/codeql/pull/6331/files#diff-6964bcb7aa362f16b03b3effd57f0ac24ec4b08eda5c1548b2b003110921ad65
XpathInjection.qll https://github.com/github/codeql/pull/6331/files#diff-ce44cbd94f369ebda2c0fde2fa7e5e843f89d3513f19536364dbd4218df489f7
XpathInjectionCustomizations.qll https://github.com/github/codeql/pull/6331/files#diff-b38f95d15398d4697dc9e9f88e3a06b698a46d2f5dd47919bed9dd50ded4d141
xpath.ql https://github.com/github/codeql/pull/6331/files#diff-5a2105a737d9fab2558c343928ed55c88a7f4e71e5f61176174d68ae8a011703
Xpath.qll https://github.com/github/codeql/pull/6331/files#diff-f5448f92b58336f5390f901b3ed6a4eb6a0a4d848c6367ca98bfe557c4c86f5a
XpathInjection.expected https://github.com/github/codeql/pull/6331/files#diff-b00200b63aeac134fab6ba92c5cd974ea0a8f70461620066cbf6a107df7cd29b
XpathInjection.qlref https://github.com/github/codeql/pull/6331/files#diff-53f20e7effa44006ddb8a21354cc8bb35a685d7372a91ef616068b9423a55fa3
options https://github.com/github/codeql/pull/6331/files#diff-774af3ec452a72ca29300fd58d59a07d402009c434f326e8f404c433f568da39
xpath.expected https://github.com/github/codeql/pull/6331/files#diff-bf335e8e48eebcc4c59f1b0b679f0084cac5b39b0b0760fe48ca684489353a96
xpath.qlref https://github.com/github/codeql/pull/6331/files#diff-8bb5a31432e9d3a5a73922b0096637289d1b205e492b0635ab857fc6e22346c4
xpathSinks.expected https://github.com/github/codeql/pull/6331/files#diff-ca87aa3fdc3320c92aaae45cb516e7d1149784eb477307f2124b47a2eab390c5
xpathSinks.ql https://github.com/github/codeql/pull/6331/files#diff-66387430ad8ef1b470fdfa898646f72f0dccf250db3f2760bd94217d8d7ee8dc
https://github.com/github/codeql/blob/main/CODEOWNERS#L19
...experimental/Security/CWE-643/xpath.qhelp → ...tal/Security/CWE-643/XpathInjection.qhelphttps://github.com/github/codeql/pull/6331/files#diff-3c571d07d1d86eaade115b4d652173242c43ddd8082be3868a16ec849149c839
View file https://github.com/github/codeql/blob/d39df18544c3a7a4a6f67d4d8f97691fcb7e62b3/python/ql/src/experimental/Security/CWE-643/XpathInjection.qhelp
Open in desktop https://desktop.github.com
https://github.com/github/codeql/blob/main/CODEOWNERS#L19
python/ql/src/experimental/Security/CWE-643/XpathInjection.qlhttps://github.com/github/codeql/pull/6331/files#diff-6964bcb7aa362f16b03b3effd57f0ac24ec4b08eda5c1548b2b003110921ad65
View file https://github.com/github/codeql/blob/d39df18544c3a7a4a6f67d4d8f97691fcb7e62b3/python/ql/src/experimental/Security/CWE-643/XpathInjection.ql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/6331/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L19
python/ql/src/experimental/Security/CWE-643/XpathInjection.qllhttps://github.com/github/codeql/pull/6331/files#diff-ce44cbd94f369ebda2c0fde2fa7e5e843f89d3513f19536364dbd4218df489f7
View file https://github.com/github/codeql/blob/d39df18544c3a7a4a6f67d4d8f97691fcb7e62b3/python/ql/src/experimental/Security/CWE-643/XpathInjection.qll
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/6331/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L19
python/ql/src/experimental/Security/CWE-643/XpathInjectionCustomizations.qllhttps://github.com/github/codeql/pull/6331/files#diff-b38f95d15398d4697dc9e9f88e3a06b698a46d2f5dd47919bed9dd50ded4d141
View file https://github.com/github/codeql/blob/d39df18544c3a7a4a6f67d4d8f97691fcb7e62b3/python/ql/src/experimental/Security/CWE-643/XpathInjectionCustomizations.qll
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/6331/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L19
python/ql/src/experimental/Security/CWE-643/xpath.qlhttps://github.com/github/codeql/pull/6331/files#diff-5a2105a737d9fab2558c343928ed55c88a7f4e71e5f61176174d68ae8a011703
View file https://github.com/github/codeql/blob/a66f83644b1eb34c06c7aba712cbfb698830b456/python/ql/src/experimental/Security/CWE-643/xpath.ql
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/github/codeql/pull/6331/files
https://github.com/github/codeql/blob/main/CODEOWNERS#L19
python/ql/src/experimental/semmle/python/security/injection/Xpath.qllhttps://github.com/github/codeql/pull/6331/files#diff-f5448f92b58336f5390f901b3ed6a4eb6a0a4d848c6367ca98bfe557c4c86f5a
View file https://github.com/github/codeql/blob/a66f83644b1eb34c06c7aba712cbfb698830b456/python/ql/src/experimental/semmle/python/security/injection/Xpath.qll
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/github/codeql/pull/6331/files
Please reload this pagehttps://github.com/github/codeql/pull/6331/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

Viewport: width=device-width


URLs of crawlers that visited me.