choices/choices 9.0.1 is affected by polyfill.io

Created on 26 June 2024, 6 months ago

Problem/Motivation

Choices-JS includes a script hosted by polyfill.io

3rd Party Libraries and Supply Chains - PSA-2024-06-26 โ†’

Steps to reproduce

The current require in composer.libraries.json is this:

        "choices": {
            "type": "package",
            "package": {
                "name": "choices/choices",
                "version": "9.0.1",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "choices"
                },
                "dist": {
                    "url": "https://github.com/Choices-js/Choices/archive/refs/tags/v9.0.1.zip",
                    "type": "zip"
                },
                "license": "MIT"
            }
        },

If you open the Zip file and look at public/index.html, it includes a script hosted by polyfill.io.

Proposed resolution

There is an open pull request on the library. Assuming it gets merged and a new release is created, composer.libraries.json will need to be updated to include a newer version of the library that is no longer using polyfill.io.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Active

Version

6.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
  • Security

    It is used for security vulnerabilities which do not need a security advisory. For example, security issues in projects which do not have security advisory coverage, or forward-porting a change already disclosed in a security advisory. See Drupalโ€™s security advisory policy for details. Be careful publicly disclosing security vulnerabilities! Use the โ€œReport a security vulnerabilityโ€ link in the project pageโ€™s sidebar. See how to report a security issue for details.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024