Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency prismjs to v1.27.0 [SECURITY] #390

Merged
merged 1 commit into from Apr 13, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 2, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prismjs 1.26.0 -> 1.27.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2022-23647

Impact

Prism's Command line plugin can be used by attackers to achieve an XSS attack. The Command line plugin did not properly escape its output, leading to the input text being inserted into the DOM as HTML code.

Server-side usage of Prism is not impacted. Websites that do not use the Command Line plugin are also not impacted.

Patches

This bug has been fixed in v1.27.0.

Workarounds

Do not use the Command line plugin on untrusted inputs, or sanitized all code blocks (remove all HTML code text) from all code blocks that use the Command line plugin.

References


Release Notes

PrismJS/prism

v1.27.0

Compare Source

New components
Updated components
Updated plugins
Other

Configuration

📅 Schedule: "" in timezone Asia/Tokyo.

🚦 Automerge: Disabled due to failing status checks.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the renovate label Apr 2, 2022
@github-actions
Copy link

github-actions bot commented Apr 2, 2022

depcheck Result

List up libraries that are defined in dependencies and devDependencies in package.json but not used in your codes.

  • Unused dependencies

    • @fortawesome/free-regular-svg-icons
    • @fortawesome/free-solid-svg-icons
    • react-dom
    • react-error-overlay
    • react-flickr-hero
    • react-typography
    • sharp
    • tween
    • typescript
  • Unused devdependencies

    • @babel/core
    • @storybook/addon-a11y
    • @storybook/addon-controls
    • @storybook/addon-docs
    • @storybook/addon-essentials
    • @storybook/addon-info
    • @storybook/addon-interactions
    • @storybook/addon-knobs
    • @storybook/addon-links
    • @storybook/addon-storyshots
    • @storybook/jest
    • @storybook/react
    • @storybook/testing-library
    • @types/aws-lambda
    • @types/jest
    • @types/node
    • @types/react-fontawesome
    • @types/storybook__addon-info
    • axe-core
    • babel-preset-gatsby
    • babel-preset-react-app
    • chromatic
    • cypress
    • eslint
    • eslint-plugin-import
    • eslint-plugin-jsx-a11y
    • eslint-plugin-react
    • gatsby-cli
    • gh-pages
    • greenkeeper-lockfile
    • identity-obj-proxy
    • jest
    • netlify-cli
    • netlify-lambda
    • percy
    • prettier
    • react-test-renderer
    • start-server-and-test
    • stylelint
    • stylelint-config-idiomatic-order
    • stylelint-config-prettier
    • stylelint-config-recommended
    • stylelint-config-styled-components
    • stylelint-processor-styled-components
    • ts-dedent
    • ts-jest
    • tslint-react
  • Missing

    • build-url

      • /github/workspace/src/components/flickrHero.tsx
    • @fortawesome/fontawesome-common-types

      • /github/workspace/src/components/socialIcons.tsx
    • axios

      • /github/workspace/functions/src/contact.js
    • @babel/preset-react

      • /github/workspace/.storybook/main.js
    • @babel/preset-env

      • /github/workspace/.storybook/main.js
    • @babel/plugin-proposal-class-properties

      • /github/workspace/.storybook/main.js

@github-actions
Copy link

github-actions bot commented Apr 2, 2022

Deploy path: /home/runner/work/portfolio/portfolio/public
Functions path: /home/runner/work/portfolio/portfolio/functions/src
Configuration path: /home/runner/work/portfolio/portfolio/netlify.toml
Deploying to draft URL...

Logs: https://app.netlify.com/sites/sleepy-neumann-6a84c0/deploys/6247b26335b225332f9adbb4
Website Draft URL: https://6247b26335b225332f9adbb4--sleepy-neumann-6a84c0.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --prod

@renovate renovate bot force-pushed the renovate-npm-prismjs-vulnerability branch from 71bfc5f to f153b49 Compare April 3, 2022 05:56
@github-actions
Copy link

github-actions bot commented Apr 3, 2022

depcheck Result

List up libraries that are defined in dependencies and devDependencies in package.json but not used in your codes.

  • Unused dependencies

    • @fortawesome/free-regular-svg-icons
    • @fortawesome/free-solid-svg-icons
    • react-error-overlay
    • react-flickr-hero
    • sharp
    • tween
  • Unused devdependencies

    • @storybook/addon-a11y
    • @storybook/addon-controls
    • @storybook/addon-docs
    • @storybook/addon-essentials
    • @storybook/addon-info
    • @storybook/addon-interactions
    • @storybook/addon-knobs
    • @storybook/addon-links
    • @storybook/addon-storyshots
    • @storybook/jest
    • @storybook/testing-library
    • @types/aws-lambda
    • @types/jest
    • @types/node
    • @types/react-fontawesome
    • @types/storybook__addon-info
    • babel-preset-gatsby
    • babel-preset-react-app
    • chromatic
    • eslint-plugin-import
    • eslint-plugin-jsx-a11y
    • eslint-plugin-react
    • greenkeeper-lockfile
    • identity-obj-proxy
    • netlify-cli
    • netlify-lambda
    • percy
    • react-test-renderer
    • stylelint-config-idiomatic-order
    • stylelint-config-prettier
    • stylelint-config-recommended
    • stylelint-config-styled-components
    • stylelint-processor-styled-components
    • ts-dedent
    • ts-jest
    • tslint-react
  • Missing

    • build-url

      • /github/workspace/src/components/flickrHero.tsx
    • @fortawesome/fontawesome-common-types

      • /github/workspace/src/components/socialIcons.tsx
    • axios

      • /github/workspace/functions/src/contact.js
    • @babel/preset-react

      • /github/workspace/.storybook/main.js
    • @babel/preset-env

      • /github/workspace/.storybook/main.js
    • @babel/plugin-proposal-class-properties

      • /github/workspace/.storybook/main.js

@github-actions
Copy link

github-actions bot commented Apr 3, 2022

Deploy path: /home/runner/work/portfolio/portfolio/public
Functions path: /home/runner/work/portfolio/portfolio/functions/src
Configuration path: /home/runner/work/portfolio/portfolio/netlify.toml
Deploying to draft URL...

Logs: https://app.netlify.com/sites/sleepy-neumann-6a84c0/deploys/6249381f20abb64175c117d4
Website Draft URL: https://6249381f20abb64175c117d4--sleepy-neumann-6a84c0.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --prod

@renovate renovate bot force-pushed the renovate-npm-prismjs-vulnerability branch from f153b49 to 5f9acee Compare April 3, 2022 14:51
@github-actions
Copy link

github-actions bot commented Apr 3, 2022

depcheck Result

List up libraries that are defined in dependencies and devDependencies in package.json but not used in your codes.

  • Unused dependencies

    • @fortawesome/free-regular-svg-icons
    • @fortawesome/free-solid-svg-icons
    • react-error-overlay
    • react-flickr-hero
    • sharp
    • tween
  • Unused devdependencies

    • @storybook/addon-a11y
    • @storybook/addon-controls
    • @storybook/addon-docs
    • @storybook/addon-essentials
    • @storybook/addon-info
    • @storybook/addon-interactions
    • @storybook/addon-knobs
    • @storybook/addon-links
    • @storybook/addon-storyshots
    • @storybook/jest
    • @storybook/testing-library
    • @types/aws-lambda
    • @types/jest
    • @types/node
    • @types/react-fontawesome
    • @types/storybook__addon-info
    • babel-preset-gatsby
    • babel-preset-react-app
    • chromatic
    • eslint-plugin-import
    • eslint-plugin-jsx-a11y
    • eslint-plugin-react
    • greenkeeper-lockfile
    • identity-obj-proxy
    • netlify-cli
    • netlify-lambda
    • percy
    • react-test-renderer
    • stylelint-config-idiomatic-order
    • stylelint-config-prettier
    • stylelint-config-recommended
    • stylelint-config-styled-components
    • stylelint-processor-styled-components
    • ts-dedent
    • ts-jest
    • tslint-react
  • Missing

    • build-url

      • /github/workspace/src/components/flickrHero.tsx
    • @fortawesome/fontawesome-common-types

      • /github/workspace/src/components/socialIcons.tsx
    • axios

      • /github/workspace/functions/src/contact.js
    • @babel/preset-react

      • /github/workspace/.storybook/main.js
    • @babel/preset-env

      • /github/workspace/.storybook/main.js
    • @babel/plugin-proposal-class-properties

      • /github/workspace/.storybook/main.js

@github-actions
Copy link

github-actions bot commented Apr 3, 2022

Deploy path: /home/runner/work/portfolio/portfolio/public
Functions path: /home/runner/work/portfolio/portfolio/functions/src
Configuration path: /home/runner/work/portfolio/portfolio/netlify.toml
Deploying to draft URL...

Logs: https://app.netlify.com/sites/sleepy-neumann-6a84c0/deploys/6249b58235b2255a609add3e
Website Draft URL: https://6249b58235b2255a609add3e--sleepy-neumann-6a84c0.netlify.app

If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --prod

@tubone24 tubone24 merged commit d4dec52 into master Apr 13, 2022
@tubone24 tubone24 deleted the renovate-npm-prismjs-vulnerability branch April 13, 2022 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants