René's URL Explorer Experiment


Title: Python: Add support for detecting XSLT Injection (#3521 revived) by RasmusWL · Pull Request #3801 · github/codeql · GitHub

Open Graph Title: Python: Add support for detecting XSLT Injection (#3521 revived) by RasmusWL · Pull Request #3801 · github/codeql

X Title: Python: Add support for detecting XSLT Injection (#3521 revived) by RasmusWL · Pull Request #3801 · github/codeql

Description: This PR is bringing #3521 back from the dead (an external contribution). I did some minor readjusting of the code, but nothing major.

Open Graph Description: This PR is bringing #3521 back from the dead (an external contribution). I did some minor readjusting of the code, but nothing major.

X Description: This PR is bringing #3521 back from the dead (an external contribution). I did some minor readjusting of the code, but nothing major.

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:49684ada-1856-b5c5-99a9-1325850d3e64
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC856:4935B:FE41B:1550E6:6A4D8352
html-safe-noncea96f723b617d5dd6576cf1784cc2a8069803e6157ff4e79531c26502272157d1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODU2OjQ5MzVCOkZFNDFCOjE1NTBFNjo2QTREODM1MiIsInZpc2l0b3JfaWQiOiIyMTQ0MDgwMDc3MTc5OTQ1ODEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf5b6f2deb55d7a985aa514b2475a1dcb73e708932388f99e9070abe9988829da
hovercard-subject-tagpull_request:439919844
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/3801/files
twitter:imagehttps://avatars.githubusercontent.com/u/1054041?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1054041?s=400&v=4
og:image:altThis PR is bringing #3521 back from the dead (an external contribution). I did some minor readjusting of the code, but nothing major.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec6bf61c909482ec3072ef5d7a5a28f2a9d214788c9a44793eca1960048cb05ae
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
release6702a58b419a792226bd21ef0fb1bcb318bbcaa3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql/pull/3801/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F3801%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%2F3801%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/3801/files
Reloadhttps://github.com/github/codeql/pull/3801/files
Reloadhttps://github.com/github/codeql/pull/3801/files
Please reload this pagehttps://github.com/github/codeql/pull/3801/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 425 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
tausbnhttps://github.com/tausbn
github:masterhttps://github.com/github/codeql/tree/master
RasmusWL:python-3521-revivedhttps://github.com/RasmusWL/codeql/tree/python-3521-revived
Conversation 9 https://github.com/github/codeql/pull/3801
Findings https://github.com/github/codeql/pull/3801/findings
Commits 11 https://github.com/github/codeql/pull/3801/commits
Checks 0 https://github.com/github/codeql/pull/3801/checks
Files changed https://github.com/github/codeql/pull/3801/files
Please reload this pagehttps://github.com/github/codeql/pull/3801/files
Python: Add support for detecting XSLT Injection (#3521 revived) https://github.com/github/codeql/pull/3801/files#top
Show all changes 11 commits https://github.com/github/codeql/pull/3801/files
1ceb963 Python : Add support for detecting XSLT Injection May 19, 2020 https://github.com/github/codeql/pull/3801/commits/1ceb963d4c11c4cbabf3a9e621afd74f011158a7
6dd9106 Update XSLT.qll Jun 7, 2020 https://github.com/github/codeql/pull/3801/commits/6dd9106301dcb23b6c7d3ed62e78d2819c548f21
33a9fb6 Python: Reorder XSLT qhelp to be valid RasmusWL Jun 11, 2020 https://github.com/github/codeql/pull/3801/commits/33a9fb6034b3a58bc273abe926d5f30d9667d12b
a24974b Python: Add missing

to qhelp RasmusWL Jun 11, 2020

https://github.com/github/codeql/pull/3801/commits/a24974b1946ab8e1ed72b02622f460b51d988173
994db06 Python: Use CWE-091 for XSLT RasmusWL Jun 25, 2020 https://github.com/github/codeql/pull/3801/commits/994db060c70de5783da0f959b4e2cf53f6b8745d
e60af68 Python: Move lxml.etree library stub (so merge is easy) RasmusWL Jun 25, 2020 https://github.com/github/codeql/pull/3801/commits/e60af68b293095da82fefbd8770734a595bc8571
3cc566f Merge branch 'master' into python-3521-revived RasmusWL Jun 25, 2020 https://github.com/github/codeql/pull/3801/commits/3cc566f703706be4a563e959df6334ab3899cfb8
1e5eeb8 Python: Move lxml.etree library stub to reduce clutter RasmusWL Jun 25, 2020 https://github.com/github/codeql/pull/3801/commits/1e5eeb80096145159b5c8ec3b573019be9d8f6e9
22ad8f7 Python: Remove usage of .getASuccessor() in XSLT.qll RasmusWL Jun 25, 2020 https://github.com/github/codeql/pull/3801/commits/22ad8f717fc7403d01a3fff4f666bb2f5c228653
08384e3 Python: Minor doc fixes from review RasmusWL Jun 26, 2020 https://github.com/github/codeql/pull/3801/commits/08384e30af15e69ebfa1ae49e5e78d65f4752559
b164f26 Python: One more minor doc fix from review RasmusWL Jun 26, 2020 https://github.com/github/codeql/pull/3801/commits/b164f2695dd592530e07b49a94535a6cfc1acf0f
Clear filters https://github.com/github/codeql/pull/3801/files
Please reload this pagehttps://github.com/github/codeql/pull/3801/files
Please reload this pagehttps://github.com/github/codeql/pull/3801/files
Xslt.qhelp https://github.com/github/codeql/pull/3801/files#diff-f3c791c7e97372e5e16912a7f97d97d28bbb85f6da5676cf818d7e47a5ec6def
Xslt.ql https://github.com/github/codeql/pull/3801/files#diff-2c9c164066d98fad996c55d4c3c78da9c2a65f527dff37486f4603cc2d441fe5
xslt.py https://github.com/github/codeql/pull/3801/files#diff-a7155ef8cc5d5e296881e0b658eaa36de859d1920b02fd89e51df9700180f092
XSLT.qll https://github.com/github/codeql/pull/3801/files#diff-8a0a4a0e181e10ed5147965f4da409ec6d863f0b99f585ff113b89a75d678b67
Xslt.expected https://github.com/github/codeql/pull/3801/files#diff-3d42eabc0df8a74857668495014af9ccf0b499433d3a6120832d3f1522055f83
Xslt.qlref https://github.com/github/codeql/pull/3801/files#diff-f606704c9e2c0ff6b9f54aa73e8067ff268fbbb5b3f49044cc704ae31b0c0fdb
XsltSinks.expected https://github.com/github/codeql/pull/3801/files#diff-d215db1cefd04993464bbea64cf82ab6ce9322fff8270218484bf4e1a00aedee
XsltSinks.ql https://github.com/github/codeql/pull/3801/files#diff-215d245ac528e8de3987f4ed2d1d5062acd7b08c694206e48db15fe19f18c43f
options https://github.com/github/codeql/pull/3801/files#diff-66d18ce06d0270bc627406c4ed4e9f1785214c1f37597c7ba93e433aed825db8
xslt.py https://github.com/github/codeql/pull/3801/files#diff-15f336ce88050fd2dca485bd4089f62424ec1881eb5caf672123447c05d95a6e
xsltInjection.py https://github.com/github/codeql/pull/3801/files#diff-3822698c7a86eb16c3e142167cceb520bc7c344df5e023c8da6aaef6114ef201
xsltSinks.py https://github.com/github/codeql/pull/3801/files#diff-98f8521cd512a309dd96dfad7fd9a6f278c414b6b864ab84e1eae270816da3ce
etree.py https://github.com/github/codeql/pull/3801/files#diff-5a66849bf8b7efb0ea581721ef72241a25ad5f14570aa60b68de5e8294da0244
python/ql/src/experimental/CWE-091/Xslt.qhelphttps://github.com/github/codeql/pull/3801/files#diff-f3c791c7e97372e5e16912a7f97d97d28bbb85f6da5676cf818d7e47a5ec6def
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/src/experimental/CWE-091/Xslt.qhelp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
python/ql/src/experimental/CWE-091/Xslt.qlhttps://github.com/github/codeql/pull/3801/files#diff-2c9c164066d98fad996c55d4c3c78da9c2a65f527dff37486f4603cc2d441fe5
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/src/experimental/CWE-091/Xslt.ql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
python/ql/src/experimental/CWE-091/xslt.pyhttps://github.com/github/codeql/pull/3801/files#diff-a7155ef8cc5d5e296881e0b658eaa36de859d1920b02fd89e51df9700180f092
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/src/experimental/CWE-091/xslt.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
python/ql/src/experimental/semmle/python/security/injection/XSLT.qllhttps://github.com/github/codeql/pull/3801/files#diff-8a0a4a0e181e10ed5147965f4da409ec6d863f0b99f585ff113b89a75d678b67
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/src/experimental/semmle/python/security/injection/XSLT.qll
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
Please reload this pagehttps://github.com/github/codeql/pull/3801/files
python/ql/test/experimental/CWE-091/Xslt.expectedhttps://github.com/github/codeql/pull/3801/files#diff-3d42eabc0df8a74857668495014af9ccf0b499433d3a6120832d3f1522055f83
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/test/experimental/CWE-091/Xslt.expected
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
python/ql/test/experimental/CWE-091/Xslt.qlrefhttps://github.com/github/codeql/pull/3801/files#diff-f606704c9e2c0ff6b9f54aa73e8067ff268fbbb5b3f49044cc704ae31b0c0fdb
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/test/experimental/CWE-091/Xslt.qlref
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
python/ql/test/experimental/CWE-091/XsltSinks.expectedhttps://github.com/github/codeql/pull/3801/files#diff-d215db1cefd04993464bbea64cf82ab6ce9322fff8270218484bf4e1a00aedee
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/test/experimental/CWE-091/XsltSinks.expected
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
python/ql/test/experimental/CWE-091/XsltSinks.qlhttps://github.com/github/codeql/pull/3801/files#diff-215d245ac528e8de3987f4ed2d1d5062acd7b08c694206e48db15fe19f18c43f
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/test/experimental/CWE-091/XsltSinks.ql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
python/ql/test/experimental/CWE-091/optionshttps://github.com/github/codeql/pull/3801/files#diff-66d18ce06d0270bc627406c4ed4e9f1785214c1f37597c7ba93e433aed825db8
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/test/experimental/CWE-091/options
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
python/ql/test/experimental/CWE-091/xslt.pyhttps://github.com/github/codeql/pull/3801/files#diff-15f336ce88050fd2dca485bd4089f62424ec1881eb5caf672123447c05d95a6e
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/test/experimental/CWE-091/xslt.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
python/ql/test/experimental/CWE-091/xsltInjection.pyhttps://github.com/github/codeql/pull/3801/files#diff-3822698c7a86eb16c3e142167cceb520bc7c344df5e023c8da6aaef6114ef201
View file https://github.com/RasmusWL/codeql/blob/b164f2695dd592530e07b49a94535a6cfc1acf0f/python/ql/test/experimental/CWE-091/xsltInjection.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/3801/{{ revealButtonHref }}
Please reload this pagehttps://github.com/github/codeql/pull/3801/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.