WP Manifestindependent plugin directory
manifest / editor / newspack-content-converter

Newspack Content Converter WP Registry grade B. Medium-severity findings · 1 findingWP RegistryMedium-severity findings · 1 findingOpen the reportB

Plugin that enables automated conversion of pre-Gutenberg post content, to Gutenberg blocks content.

★ 49stars
2krelease downloads
≈30active sites
1.2.0latest · 2 years ago

Install

Download newspack-content-converter.zip From the 1.2.0 release on GitHub, Oct 4, 2024

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/automattic/newspack-content-converter/releases/download/1.2.0/newspack-content-converter.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Mass-conversion of pre-Gutenberg Classic HTML Posts and Pages to Gutenberg Blocks.

Disclaimer

Make sure to back up your site contents fully, because this converter updates the content of your database permanently by replacing the classic HTML content with Gutenberg Blocks content.

This plugin is open source, and the creators can not be held responsible for any data loss or consequences of its usage.

Convert HTML to Blocks

The "Content Converter" > "Converter" submenu item in the Dashboard's main allows you to mass convert all your HTML posts to Gutenberg blocks.

Every time this screen is loaded, it will scan your existing posts and display the number of unconverted posts which can then be converted. All Posts which do not begin with block syntax `

Releases

24 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
1.2.0 latest
Oct 4, 2024 2 years ago
newspack-content-converter.zip
163
Aug 23, 2024 2 years ago
newspack-content-converter.zip
33
Jun 6, 2024 2 years ago
newspack-content-converter.zip
41
May 7, 2024 2 years ago
newspack-content-converter.zip
29
Apr 28, 2024 2 years ago
newspack-content-converter.zip
15
Apr 26, 2024 2 years ago
newspack-content-converter.zip
10
Apr 24, 2024 2 years ago
newspack-content-converter.zip
13
Apr 9, 2024 2 years ago
newspack-content-converter.zip
22
Apr 5, 2024 2 years ago
newspack-content-converter.zip
17
Mar 15, 2024 2 years ago
newspack-content-converter.zip
19
Sep 6, 2023 3 years ago
newspack-content-converter.zip
87
Nov 4, 2021 5 years ago
newspack-content-converter.zip
724
Feb 5, 2021 5 years ago
newspack-content-converter.zip
209
May 26, 2020 6 years ago
newspack-content-converter.zip
234
Jan 17, 2020 6 years ago
newspack-content-converter.zip
130
Jan 17, 2020 6 years ago
newspack-content-converter.zip
14
Jan 16, 2020 6 years ago
newspack-content-converter.zip
12
Jan 10, 2020 6 years ago
newspack-content-converter.zip
19
Jan 6, 2020 6 years ago
newspack-content-converter.zip
23
Dec 8, 2019 6 years ago
newspack-content-converter.zip
14
Nov 22, 2019 6 years ago
newspack-content-converter.zip
26
Nov 21, 2019 6 years ago
newspack-content-converter.zip
17
Oct 25, 2019 7 years ago
newspack-content-converter.zip
45
Oct 11, 2019 7 years ago
newspack-content-converter.zip
43

Active-site estimate ≈30 comes from the median of recent superseded releases. Method.

B grade

Security

Newspack Content Converter 1.2.0 · audited by WP Registry

Medium-severity findings.

1 medium
Audited release
1.2.0
Findings
1
Worst severity
medium
Content hash
4b1cec16cfeed866a3aacd4c…

Findings

  • medium Converter REST endpoints read/overwrite any post's content without per-object capability checks

    missing_capability

    All converter routes rely on rest_permission(), which only checks current_user_can('edit_others_posts'). update_post_content() passes a client-supplied post_id straight to ConversionProcessor::update_converted_post(), which overwrites post_content with client-supplied content_blocks via wp_update_post() for ANY post ID and post type, and get_post_content() returns raw post_content for any ID. An Editor (or any role holding edit_others_posts) can therefore rewrite content of post types core would not let them edit (e.g. wp_template, wp_template_part, wp_global_styles, which require edit_theme_options) and read content of posts they cannot read. restore-post-contents with an empty id list also reverts every converted post site-wide.

    lib/class-convertercontroller.php:186-191, 381-410

    Recommendation

    Check current_user_can( 'edit_post', $post_id ) (and read_post for get-post-content) for every ID, restrict to the post types the converter targets, and consider requiring manage_options for the batch/restore endpoints.

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.