microsoft / microsoft/BotFramework-WebChat

Numerous obsolete versions of core-js

Open
#5,260 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bot Services customer-reported question
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

I have a question

We integrated the WebChat control into our website by including the HTML script tag on our page.

During our compliance and cybersecurity reviews, we encountered an issue: our site is using outdated versions of core-js.

We researched and discovered on GitHub that the command window['__core-js_shared__']?.versions can provide a list of the core-js versions in use.

We found that the WebChat control script adds 10 different version numbers to an array, indicating that several obsolete versions of core-js are being used on this page, as shown in the following image:

image

I am not very experienced with JavaScript, so I am unsure about the implications of this.

  1. Are all these versions actually being used on our webpage?
  2. What are the potential risks?
  3. Is there a way to configure the script to use only a current version of core-js?

Thanks !

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the WebChat control through the HTML script tag and inspect window['core-js_shared']?.versions as described. Determine whether the listed versions are loaded by WebChat and whether the script exposes a supported way to use a current core-js version. Done should be a confirmed explanation of the versions, risks, and configuration options.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.