WP Manifestindependent plugin directory
manifest / social / like-my-post-wpplugin

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

With this plugin, you'll be able to put the like button under all the posts on your blog.

★ 2stars
53release downloads
≈30active sites
V1.1latest · 6 years ago

Install

Download Like-My-Post-WPPlugin-master.zip From the V1.1 release on GitHub, Jun 28, 2020

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

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/basarballioz/like-my-post-wpplugin/releases/download/V1.1/Like-My-Post-WPPlugin-master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Like My Post - Wordpress Plugin

With this plugin, you'll be able to put the like button under all the posts on your blog. You'll be able to view the most popular tags on your website and see the total number of likes for each tag. You can also show your users the 10 most liked tags (or less) thanks to a small widget that we can place on your website

Features

  • With this plugin, you'll be able to see if you like the article or post you've written or not thanks to like button below the post.
    like

  • A page where the most popular tags are presented with 10 tags per page.
    panel

  • Customizable widget for viewing the most popular tags.
    widget

Installation

You can install this plugin in a couple of different ways on your Wordpress website,

  • First you need to insall zip file of plugin: Download Now (.zip)

    • 1. Plugin can be installed by using Wordpress plugin installer. All you have to do is follow this path from dashboard of the wordpress: Plugins > Add New > Upload Plugin > Choose File > Choose your plugin file (likemypost-plugin.zip) > Install Now > Activate Plugin

    • 2. Plugin can be installed by cloning projects repo (Git Bash could be useful)

      • cd \wordpress\wp-content\plugins
      • git clone https://github.com/basarballioz/Like-My-Post-WPPlugin.git
      • Wordpress Dashboard > Plugins > Installed Plugins > Activate the "LikeMyPost" plugin

plugin

How do I know if my plugin is working ?
  • If you see the like button under any post on the site after enabling the plugin, it means that the plugin works without any problems

Credit

License

"Like My Post" project is licensed under the GPLv3 License - see the license. file for details.

Releases

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

Tag
Published
Assets
Downloads
V1.1 latest
Jun 28, 2020 6 years ago
Like-My-Post-WPPlugin-master.zip
23
Jun 28, 2020 6 years ago
Like-My-Post-WPPlugin.zip
30

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

B grade

Security

LikeMyPost 1.0 · audited by WP Registry

Medium-severity findings.

1 medium
Audited release
1.0
Findings
1
Worst severity
medium
Content hash
2fbd8fdeedf018651b98d294…

Findings

  • medium Unauthenticated like AJAX appends unbounded _likers_IP meta without a server-side duplicate check

    dos

    wp_ajax_like and wp_ajax_nopriv_like both call likeMyPost::like(). The handler only check_ajax_referer('worldsBestPluginEver') — the nonce is localized as LMPajax on every frontend page, and logged-out users share a uid-0 nonce — then takes raw $_POST['post_id'] and $_POST['event'] with no current_user_can, post_exists, absint, or alreadyLiked() gate. likePost() always ++ the _likes_count meta and appends REMOTE_ADDR concatenated with HTTP_USER_AGENT onto _likers_IP; the IP/UA uniqueness helper is used only to pick the Like vs Dislike link in the_content, not to reject a repeat vote. dislikePost() still decrements the count when alreadyLiked() is false. Because update_post_meta accepts any numeric object ID, this writes those two keys on posts, pages, attachments, drafts, and non-existent IDs. Observable: an unauthenticated visitor can inflate or drive negative public like totals and grow a serialized _likers_IP array without bound (large User-Agent × many requests), which alreadyLiked()/get_post_meta then load on front-end renders. The AJAX response is applied with jQuery .text(), so this is not XSS. Widget LIMIT $maxTag interpolation and admin tag-name echoes were traced: $maxTag is edit_theme_options-only after strip_tags, and $limiter is (int) pagination — not filed.

    likemypost-main.php:54-66,86-129,143-144

    Recommendation

    absint and post_exists() the post_id; refuse non-public types if likes are only meant for posts. Call alreadyLiked() inside likePost() and refuse a second like; only decrement in dislikePost() when the fingerprint is present. Store a unique fingerprint (hash of IP+UA) in a set with a max size, or replace the growing array with a dedicated table and unique index. Rate-limit the AJAX action. Keep the nonce, but do not treat it as a substitute for those server-side checks.

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.