Skip to content

⚠️ Action required: remove polyfill.io in extra_javascript #7295

@FutureMatt

Description

@FutureMatt

Important

TL;DR: make sure to remove any script referenced in extra_javascript that points to polyfill.io:

  extra_javascript:
    - javascripts/mathjax.js
-   - https://polyfill.io/v3/polyfill.min.js?features=es6
    - https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js

Added by @squidfunk


Context

No response

Description

Polyfill.io was bought by a Chinese company earlier this year and has since then gone on to inject malicious code into the polyfill code it delivers.

Polyfill.io should be removed where possible, if not Fastly and Cloudflare have set up mirrors of safe code.

Related links

Use Cases

This'll affect all users of the project.

Visuals

No response

Before submitting

Metadata

Metadata

Assignees

Labels

announcementIssue announces news or new features

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions