| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:49684ada-1856-b5c5-99a9-1325850d3e64 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C856:4935B:FE41B:1550E6:6A4D8352 |
| html-safe-nonce | a96f723b617d5dd6576cf1784cc2a8069803e6157ff4e79531c26502272157d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODU2OjQ5MzVCOkZFNDFCOjE1NTBFNjo2QTREODM1MiIsInZpc2l0b3JfaWQiOiIyMTQ0MDgwMDc3MTc5OTQ1ODEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f5b6f2deb55d7a985aa514b2475a1dcb73e708932388f99e9070abe9988829da |
| hovercard-subject-tag | pull_request:439919844 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql/pull/3801/files |
| twitter:image | https://avatars.githubusercontent.com/u/1054041?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1054041?s=400&v=4 |
| og:image:alt | This PR is bringing #3521 back from the dead (an external contribution).
I did some minor readjusting of the code, but nothing major. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6bf61c909482ec3072ef5d7a5a28f2a9d214788c9a44793eca1960048cb05ae |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql git https://github.com/github/codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 143040428 |
| octolytics-dimension-repository_nwo | github/codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143040428 |
| octolytics-dimension-repository_network_root_nwo | github/codeql |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6702a58b419a792226bd21ef0fb1bcb318bbcaa3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/github/codeql/pull/3801/files |
| Reload | https://github.com/github/codeql/pull/3801/files |
| Reload | https://github.com/github/codeql/pull/3801/files |
| Please reload this page | https://github.com/github/codeql/pull/3801/files |
|
github
| https://github.com/github |
| codeql | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| tausbn | https://github.com/tausbn |
| github:master | https://github.com/github/codeql/tree/master |
| RasmusWL:python-3521-revived | https://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 page | https://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 page | https://github.com/github/codeql/pull/3801/files |
| Please reload this page | https://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.qhelp | https://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.ql | https://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.py | https://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.qll | https://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 page | https://github.com/github/codeql/pull/3801/files |
| python/ql/test/experimental/CWE-091/Xslt.expected | https://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.qlref | https://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.expected | https://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.ql | https://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/options | https://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.py | https://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.py | https://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 page | https://github.com/github/codeql/pull/3801/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |