WP Manifestindependent plugin directory
manifest / integrations / scholar-scraper-wordpress-plugin

Scholar Scraper WP Registry grade B. Medium-severity findings · 2 findingsWP RegistryMedium-severity findings · 2 findingsOpen the reportB

A Wordpress plugin to integrate users' Google Scholar papers into your website.

★ 3stars
v1.2.6latest · 3 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/guillaume-elambert/scholar-scraper-wordpress-plugin/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Allows integration of Google Scholar API in tour Wordpress website.

Description

Scholar Scraper is a simple plugin that allows you to integrate Google Scholar into your Wordpress website. It has been designed to be as customizable as possible while remaining simple to use. Do not hesitate to participate in the development of this plugin!

Installation

  1. Download the code.
  2. In the administration panel of Wordpress, under 'Plugins' > 'Add new', find the button 'Upload Plugin' at the top of the window and click on it.
  3. Import the file using the form displayed and submit it.
  4. Activate the Scholar Scraper plugin (either via the page that should show up or in the WordPress 'Plugins' menu).
  5. Go to 'YOUR_SITE/wp-admin/admin.php?page=scholar_scraper' and configure the plugin settings.
  6. To display the posts on your website, create/edit a post/page and add the block named 'Scholar Scraper'.

Screenshots

  1. Gutenberg block
  2. Plugin
  3. Screenshot 3

Releases

9 releases.

Tag
Published
v1.2.6 latest
Apr 1, 2023 3 years ago
Mar 15, 2023 3 years ago
Mar 10, 2023 3 years ago
Mar 10, 2023 3 years ago
Feb 22, 2023 3 years ago
Feb 22, 2023 3 years ago
Feb 22, 2023 3 years ago
Feb 17, 2023 3 years ago
Feb 14, 2023 3 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

B grade

Security

Scholar Scraper 1.2.5 · audited by WP Registry

Medium-severity findings.

1 medium 1 low
Audited release
1.2.5
Findings
2
Worst severity
medium
Content hash
f0632389b8f79f0afc8ec437…

Findings

  • medium Unauthenticated AJAX search with no nonce and unescaped result rendering

    missing_auth

    scholar_scraper_search_in_papers is registered for both wp_ajax_ and wp_ajax_nopriv_, so it is reachable without authentication and without any nonce check. It takes raw $_POST['post_id'] and $_POST['block_id'], loads that post's blocks and returns rendered publication HTML. The publication templates echo $publication->title, ->author and ->abstract and interpolate $url directly into href/title attributes with no esc_html/esc_url/esc_attr, so any HTML/JS present in the scraped (or cached) data is reflected to visitors. Combined with the file-based results cache this is a stored-XSS and minor info-exposure surface.

    src/init_plugin.php:379-427

    Recommendation

    Require a nonce (check_ajax_referer) on the search endpoint, validate/absint post_id, and escape all publication fields with esc_html()/esc_url()/esc_attr() in the templates.

  • low Unserialize of results cache file

    unsafe_unserialize

    scholar_scraper_get_results() reads SERIALIZED_RESULTS_FILE (results.ser under the plugin dir) and calls unserialize() on it. The file is normally scraper-written, but if an attacker can write to the plugin directory (e.g. via the RCE above or a separate file-write bug) this becomes PHP object injection.

    src/utils.php:515-516

    Recommendation

    Store results as JSON and decode with json_decode(), or pass ['allowed_classes'=>false] to unserialize().

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.