WP Manifestindependent plugin directory
manifest / media / wpimage

小半WP图床 WP Registry grade A-. Low-severity findings · 1 findingWP RegistryLow-severity findings · 1 findingOpen the reportA-

一个非常简单基于WordPress的图床插件

★ 7stars
23release downloads
新增latest · 1 year ago

Install

Download wp-image-uploader.zip From the 新增 release on GitHub, Jan 5, 2025

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

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/wujiit/wpimage/releases/download/%E6%96%B0%E5%A2%9E/wp-image-uploader.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

这个插件是把WordPress当图床,因为之前小半微心情的插件,我没有做多图片上传的支持,但是又考虑到很多用户需要发布多张图片,那么就需要用户走第三方图床,为了方便用户在同一个网站使用,所以就做了这个小插件。

图片是上传到媒体库,你的媒体库用的本地,那么就是上传到本地服务器。
你的媒体库对接的远程对象存储、那么就是上传到远程对象存储。

插件功能:
支持游客上传(可以关闭)
支持批量上传
一键复制图片链接
设置上传图片的用户组
自定义设置上传图片的格式
自定义设置上传文件的大小
默认带Markdown、BBCode格式
后台可以查询指定用户上传的图片并且删除
用户图片管理页面(已登录用户上传的图片他自己进入管理页面能看见上传的图片)
可以设置游客上传的文件夹

Releases

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

Tag
Published
Assets
Downloads
新增 latest
Jan 5, 2025 1 year ago
wp-image-uploader.zip
20
Jan 2, 2025 1 year ago
wp-image-uploader.zip
3
A- grade

Security

小半WP图床 1.3 · audited by WP Registry

Low-severity findings only.

1 low
Audited release
1.3
Findings
1
Worst severity
low
Content hash
380bd5637245cf480784cd6e…

Findings

  • low Guest image uploads to the media library enabled by default

    unnecessary_attack_surface

    handle_image_upload is registered for wp_ajax_nopriv and guests are allowed unless the admin enables simple_image_hosting_disable_guests. Uploads go through wp_handle_upload (WP mime/extension checks) with an admin-configured extension allowlist and size limit and a front-end nonce, so this is storage-abuse surface rather than code execution. Notably logged-in users are refused unless their role is allowlisted, while anonymous users are not.

    simple-image-hosting.php:358-468

    Recommendation

    Default guest uploads to off, add per-IP rate limiting, and treat guests at least as strictly as logged-in roles.

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.