Skip to content

Ghost still uses the polyfill.io in the {{ghost_foot}} even though the domain is blocked #24416

@kustodian

Description

@kustodian

Issue Summary

Due to the security breach, the domain polyfill.io is blocked everywhere.

The latest version of Ghost is 5.130.0, as of this writing, is generating this code in the {{ghost_foot}}:

<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>

The problem with this is that the plugin doesn't load; even worse, it slows down the blog's loading time. I guess Ghost uses this as a dependency of superagent, so is this issue going to be fixed by just updating superagent? I found this PR, which bumps it to the newer version.

Steps to Reproduce

Just make sure the theme loads {{ghost_foot}}, load any page, check the network tab in the browser, and filter by the polyfill.io domain.

Ghost Version

5.130.0

Node.js Version

20.19.4

How did you install Ghost?

Official docker container

Database type

SQLite3

Browser & OS version

No response

Relevant log / error output

Code of Conduct

  • I agree to be friendly and polite to people in this repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions