René's URL Explorer Experiment


Title: [Security] Bump highlight.js from 9.18.1 to 11.0.1 by dependabot-preview[bot] · Pull Request #32 · python-gino/python-gino.org · GitHub

Open Graph Title: [Security] Bump highlight.js from 9.18.1 to 11.0.1 by dependabot-preview[bot] · Pull Request #32 · python-gino/python-gino.org

X Title: [Security] Bump highlight.js from 9.18.1 to 11.0.1 by dependabot-preview[bot] · Pull Request #32 · python-gino/python-gino.org

Description: Bumps highlight.js from 9.18.1 to 11.0.1. This update includes security fixes. Vulnerabilities fixed Sourced from The GitHub Security Advisory Database. ReDOS vulnerabities: multiple grammars Impact: Potential ReDOS vulnerabilities (exponential and polynomial RegEx backtracking) oswasp: > The Regular expression Denial of Service (ReDoS) is a Denial of Service attack, that exploits the fact that most Regular Expression implementations may reach extreme situations that cause them to work very slowly (exponentially related to input size). An attacker can then cause a program using a Regular Expression to enter these extreme situations and then hang for a very long time. If are you are using Highlight.js to highlight user-provided data you are possibly vulnerable. On the client-side (in a browser or Electron environment) risks could include lengthy freezes or crashes... On the server-side infinite freezes could occur... effectively preventing users from accessing your app or service (ie, Denial of Service). This is an issue with grammars shipped with the parser (and potentially 3rd party grammars also), not the parser itself. If you are using Highlight.js with any of the following grammars you are vulnerable. If you are using highlightAuto to detect the language (and have any of these grammars registered) you are vulnerable. All versions prior to 10.4.1 are vulnerable, including version 9.18.5. Grammars with exponential backtracking issues: c-like (c, cpp, arduino) handlebars (htmlbars) gams perl jboss-cli r ... (truncated) Affected versions: >= 9.0.0 < 10.4.1 Sourced from The GitHub Security Advisory Database. Prototype Pollution in highlight.js Impact Affected versions of this package are vulnerable to Prototype Pollution. A malicious HTML code block can be crafted that will result in prototype pollution of the base object's prototype during highlighting. If you allow users to insert custom HTML code blocks into your page/app via parsing Markdown code blocks (or similar) and do not filter the language names the user can provide you may be vulnerable. The pollution should just be harmless data but this can cause problems for applications not expecting these properties to exist and can result in strange behavior or application crashes, i.e. a potential DOS vector. If your website or application does not render user provided data it should be unaffected. Patches Versions 9.18.2 and 10.1.2 and newer include fixes for this vulnerability. If you are using version 7 or 8 you are encouraged to upgrade to a newer release. Workarounds Patch your library Manually patch your library to create null objects for both languages and aliases: const HLJS = function(hljs) { ... (truncated) Affected versions: < 9.18.2 Release notes Sourced from highlight.js's releases. Version 11 Potentially Breaking Changes This is a major release. As such it contains breaking changes which may require action from users. Most of the breaking changes work was done by the current maintainer [Josh Goebel][] (ref: #2558) while many other contributors contributed many other changes for this release. You'll find that list below the breaking changes summary. Please read VERSION_11_UPGRADE.md for a detailed summary of all breaking changes. The below list should only be considered to be a summary. Deprecations / Removals / API Changes: initHighlighting() and initHighlightingOnLoad() deprecated. Use highlightAll(). highlightBlock(el) deprecated. Use highlightElement(el) before:highlightBlock & after:highlightBlock callbacks deprecated. Use equivalent highlightElement callbacks. highlight(languageName, code, ignoreIllegals, continuation) signature deprecated. Use highlight(code, {language, ignoreIllegals}). Deprecated highlight() signature no longer supports continuation argument. tabReplace option removed. Consider a plugin. useBR option removed. Consider a plugin or CSS. requireLanguage() removed. Use getLanguage(). endSameAsBegin mode key removed. Use hljs.END_SAME_AS_BEGIN. lexemes mode key removed. Use keywords.$pattern. The return values/keys of some APIs have changed slightly. Security: HTML auto-passthru has been removed. Consider a plugin. Unescaped HTML is now stripped (for security). A warning is logged to the console. (#3057) [Josh Goebel][] Themes: The default padding of all themes increases (0.5em => 1em). schoolbook has been updated to remove the lined background. github updated to better match modern GitHub (#1616) [Jan Pilzer][] github-gist has been removed in favor of github [Jan Pilzer][] Base16 named themes have been updated to their "canonical" versions nnfx updated for v11 xml styles and improved css support Language Grammars: Default CDN build drops support for several languages. Some language grammar files have been removed. Some redundant language aliases have been removed. Other changes Parser: enh(vala) improve language detection for Vala (#3195) [Konrad Rudolph][] enh(r) add support for operators, fix number highlighting bug (#3194, #3195) [Konrad Rudolph][] enh(parser) add beginScope and endScope to allow separate scoping begin and end (#3159) [Josh Goebel][] enh(parsed) endScope now supports multi-class matchers as well (#3159) [Josh Goebel][] enh(parser) highlightElement now always tags blocks with a consistent language-[name] class [Josh Goebel][] ... (truncated) Changelog Sourced from highlight.js's changelog. Version 11.0.1 (fix) use console.log for .js.js deprecation warning (#3222) Josh Goebel (fix) do not restrict exports from cdn-assets (#3223) Josh Goebel Version 11.0.0 This is a major release. As such it contains breaking changes which may require action from users. Please read VERSION_11_UPGRADE.md for a detailed summary of all breaking changes. Potentially breaking changes Unless otherwise attributed items below are thanks to Josh Goebel (ref: #2558). The below list should only be considered to be a high-level summary. Deprecations / Removals / API Changes: initHighlighting() and initHighlightingOnLoad() deprecated. Use highlightAll(). highlightBlock(el) deprecated. Use highlightElement(el) before:highlightBlock & after:highlightBlock callbacks deprecated. Use equivalent highlightElement callbacks. highlight(languageName, code, ignoreIllegals, continuation) signature deprecated. Use highlight(code, {language, ignoreIllegals}). Deprecated highlight() signature no longer supports continuation argument. tabReplace option removed. Consider a plugin. useBR option removed. Consider a plugin or CSS. requireLanguage() removed. Use getLanguage(). endSameAsBegin mode key removed. Use hljs.END_SAME_AS_BEGIN. lexemes mode key removed. Use keywords.$pattern. The return values/keys of some APIs have changed slightly. Security: HTML auto-passthru has been removed. Consider a plugin. Unescaped HTML is now stripped (for security). A warning is logged to the console. (#3057) Josh Goebel Themes: The default padding of all themes increases (0.5em => 1em). schoolbook has been updated to remove the lined background. github updated to better match modern GitHub (#1616) [Jan Pilzer][] github-gist has been removed in favor of github [Jan Pilzer][] Base16 named themes have been updated to their "canonical" versions nnfx updated for v11 xml styles and improved css support Language Grammars: Default CDN build drops support for several languages. Some language grammar files have been removed. ... (truncated) Commits 1cf31f0 (chore) release 11.0.1 fbf223a (fix) use console.log for .js.js deprecation warning 9268dc2 (fix) do not restrict exports from cdn-assets 2185721 bump for CDN redeploy 0261c45 (chore) update browser tests 1c7c696 (chore) bump some deps 970a4d3 (fix) fire after:highlightElement after DOM is updated 947e925 bump version to 11.0.0 5dc5176 (chore) dual package (#3188) 15ed6a4 enh(r) Add operators and punctuation (#3195) Additional commits viewable in compare view Maintainer changes This version was pushed to npm by highlightjs_bot, a new releaser for highlight.js since your current version. Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: @dependabot rebase will rebase this PR @dependabot recreate will recreate this PR, overwriting any edits that have been made to it @dependabot merge will merge this PR after your CI passes on it @dependabot squash and merge will squash and merge this PR after your CI passes on it @dependabot cancel merge will cancel a previously requested merge and block automerging @dependabot reopen will reopen this PR if it is closed @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) @dependabot use these labels will set the current labels as the default for future PRs for this repo and language @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot dashboard: Update frequency (including time of day and day of week) Pull request limits (per update run and/or open at any time) Out-of-range updates (receive only lockfile updates, if desired) Security updates (receive only security updates, if desired)

Open Graph Description: Bumps highlight.js from 9.18.1 to 11.0.1. This update includes security fixes. Vulnerabilities fixed Sourced from The GitHub Security Advisory Database. ReDOS vulnerabities: multiple grammars Imp...

X Description: Bumps highlight.js from 9.18.1 to 11.0.1. This update includes security fixes. Vulnerabilities fixed Sourced from The GitHub Security Advisory Database. ReDOS vulnerabities: multiple grammars Imp...

Opengraph URL: https://github.com/python-gino/python-gino.org/pull/32

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:1f953acb-858e-cedf-7631-9e07935d0e44
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idE84E:23810A:3DCB0A7:50CFDC8:6992DF3A
html-safe-nonce84dddc811f509282f803ee40c9ec0cfdfe310a086d6944696b0038462306c600
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODRFOjIzODEwQTozRENCMEE3OjUwQ0ZEQzg6Njk5MkRGM0EiLCJ2aXNpdG9yX2lkIjoiNTg4NTE5ODk1Nzk1Nzc5OTczOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac701e6c94f40c6369dde48769bcafdcd3ff7971d80139902a59e4aac7ac73431d
hovercard-subject-tagpull_request:663282315
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-gino/python-gino.org/pull/32/checks
twitter:imagehttps://avatars.githubusercontent.com/in/2141?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/2141?s=400&v=4
og:image:altBumps highlight.js from 9.18.1 to 11.0.1. This update includes security fixes. Vulnerabilities fixed Sourced from The GitHub Security Advisory Database. ReDOS vulnerabities: multiple grammars Imp...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/python-gino/python-gino.org git https://github.com/python-gino/python-gino.org.git
octolytics-dimension-user_id59060114
octolytics-dimension-user_loginpython-gino
octolytics-dimension-repository_id229087454
octolytics-dimension-repository_nwopython-gino/python-gino.org
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id229087454
octolytics-dimension-repository_network_root_nwopython-gino/python-gino.org
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release84dcb133269e3cfe6e0296cc85fbacb92cae92bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/checks#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gino%2Fpython-gino.org%2Fpull%2F32%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gino%2Fpython-gino.org%2Fpull%2F32%2Fchecks
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=python-gino%2Fpython-gino.org
Reloadhttps://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/checks
Reloadhttps://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/checks
Reloadhttps://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/checks
python-gino https://patch-diff.githubusercontent.com/python-gino
python-gino.orghttps://patch-diff.githubusercontent.com/python-gino/python-gino.org
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gino%2Fpython-gino.org
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gino%2Fpython-gino.org
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gino%2Fpython-gino.org
Code https://patch-diff.githubusercontent.com/python-gino/python-gino.org
Issues 0 https://patch-diff.githubusercontent.com/python-gino/python-gino.org/issues
Pull requests 20 https://patch-diff.githubusercontent.com/python-gino/python-gino.org/pulls
Actions https://patch-diff.githubusercontent.com/python-gino/python-gino.org/actions
Security 0 https://patch-diff.githubusercontent.com/python-gino/python-gino.org/security
Insights https://patch-diff.githubusercontent.com/python-gino/python-gino.org/pulse
Code https://patch-diff.githubusercontent.com/python-gino/python-gino.org
Issues https://patch-diff.githubusercontent.com/python-gino/python-gino.org/issues
Pull requests https://patch-diff.githubusercontent.com/python-gino/python-gino.org/pulls
Actions https://patch-diff.githubusercontent.com/python-gino/python-gino.org/actions
Security https://patch-diff.githubusercontent.com/python-gino/python-gino.org/security
Insights https://patch-diff.githubusercontent.com/python-gino/python-gino.org/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython-gino%2Fpython-gino.org%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gino%2Fpython-gino.org%2Fissues%2Fnew%2Fchoose
dependabot-previewhttps://patch-diff.githubusercontent.com/apps/dependabot-preview
srchttps://patch-diff.githubusercontent.com/python-gino/python-gino.org/tree/src
dependabot/npm_and_yarn/highlight.js-11.0.1https://patch-diff.githubusercontent.com/python-gino/python-gino.org/tree/dependabot/npm_and_yarn/highlight.js-11.0.1
Conversation 1 https://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32
Commits 1 https://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/commits
Checks 0 https://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/checks
Files changed https://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/checks
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/checks
[Security] Bump highlight.js from 9.18.1 to 11.0.1 https://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/checks#top
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gino/python-gino.org/pull/32/checks
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.