Title: Is there a security risk with ly.colorize.HtmlWriter? · Issue #43 · frescobaldi/python-ly · GitHub
Open Graph Title: Is there a security risk with ly.colorize.HtmlWriter? · Issue #43 · frescobaldi/python-ly
X Title: Is there a security risk with ly.colorize.HtmlWriter? · Issue #43 · frescobaldi/python-ly
Description: I am using the HtmlWriter to colorize code in a GitBook. For that I'm passing an arbitrary string into HtmlWriter.html() that stems from arbitrary authors They do have to have push access to the repository but on the long run this should...
Open Graph Description: I am using the HtmlWriter to colorize code in a GitBook. For that I'm passing an arbitrary string into HtmlWriter.html() that stems from arbitrary authors They do have to have push access to the re...
X Description: I am using the HtmlWriter to colorize code in a GitBook. For that I'm passing an arbitrary string into HtmlWriter.html() that stems from arbitrary authors They do have to have push access to th...
Opengraph URL: https://github.com/frescobaldi/python-ly/issues/43
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is there a security risk with ly.colorize.HtmlWriter?","articleBody":"I am using the HtmlWriter to colorize code in a GitBook. \nFor that I'm passing an arbitrary string into `HtmlWriter.html()` that stems from arbitrary authors They do have to have push access to the repository but on the long run this should be considered as \"unsanitized\" input. (I might for example open this up in the future to allow people with self-created accounts edit this and forget about this issue).\n\nSo: is there a possible injection risk with that function or will it always \"only\" return useless results with non-LilyPond input?\n","author":{"url":"https://github.com/uliska","@type":"Person","name":"uliska"},"datePublished":"2015-06-24T07:52:16Z","url":"https://github.com/frescobaldi/python-ly/issues/43"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:55f5483c-ee1a-66ac-6e88-6f4ad4ac8724 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4B4:3F48E7:E2F1B4:12CCD1C:6B09BEB0 |
| html-safe-nonce | 032f8ab4482126e9a567b2f2b38d4234cf7b005726fea238d4bd72370a5c5bcd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEI0OjNGNDhFNzpFMkYxQjQ6MTJDQ0QxQzo2QjA5QkVCMCIsInZpc2l0b3JfaWQiOiI4NDY3ODA3NTM4MDM2NDU3MTM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ab30d99ec1f0e98b861236b71bd7938f5a8b7c9a66af65d9b4dc616101272f1c |
| hovercard-subject-tag | issue:90598737 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/frescobaldi/python-ly/43/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ffa22d390cc447fd35c86d942717042bf194eb76bee232effa5a3f35db05dae/frescobaldi/python-ly/issues/43 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ffa22d390cc447fd35c86d942717042bf194eb76bee232effa5a3f35db05dae/frescobaldi/python-ly/issues/43 |
| og:image:alt | I am using the HtmlWriter to colorize code in a GitBook. For that I'm passing an arbitrary string into HtmlWriter.html() that stems from arbitrary authors They do have to have push access to the re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | uliska |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29e6866c4c5b6697a062df08d37fa80bbfb75810ca4280c0d277f04956012d39 |
| turbo-cache-control | no-preview |
| go-import | github.com/frescobaldi/python-ly git https://github.com/frescobaldi/python-ly.git |
| octolytics-dimension-user_id | 19853952 |
| octolytics-dimension-user_login | frescobaldi |
| octolytics-dimension-repository_id | 29728425 |
| octolytics-dimension-repository_nwo | frescobaldi/python-ly |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29728425 |
| octolytics-dimension-repository_network_root_nwo | frescobaldi/python-ly |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e72aac8801621433bb0313888fbbe243f5998abc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width