WP Manifestindependent plugin directory
manifest / forms / art-feedback-button

Art Feedback Button WP Registry grade C-. High-severity findings · 1 findingWP RegistryHigh-severity findings · 1 findingOpen the reportC-

Плагин обратного звонка. Выводит шорткодом кнопку обратного звонка.

★ 12stars
114release downloads
≈10active sites
1.4.5latest · 2 years ago

Install

Download art-feedback-button.zip From the 1.4.5 release on GitHub, Mar 20, 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/artikus11/art-feedback-button/releases/download/1.4.5/art-feedback-button.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Плагин обратного звонка. Выводит шорткодом кнопку обратного звонка.

Работает на REST API. Кнопка выводиться [afb].

Дополнительные атрибуты шорткода

  • label - надпись на кнопке
  • class - произвольный ccs класс
  • emails - список адресов через запятую, который будет обправляться письмо, по умолчанию берется адрес из настроек сайта

Пример шорткода

[afb label="Обратный звонок" class="custom-button" emails="art@art.ru, der@tru.ru, art2l@gmail.com, der2@tru.ru"]

Changelog

= 1.4.5 =

  • Изменено: настрока вебпак для удаления лишних файлов
  • Исправлено: ошибки при апдейте

= 1.4.4 =

  • Исправлено: нотисы при апдейте

= 1.4.3 =

  • Исправлено: нотисы при апдейте

= 1.4.2 =

  • Изменено: смена скрипта маски телефона
  • Исправлено: нотисы при апдейте

= 1.4.1 =

  • Исправлено: рефакторинг функционала обновлений

= 1.4.0 =

  • Добавлено: автоматическое обновление
  • Добавлено: хук успешной отправки формы afb_send_mail
  • Добавлено: хук ошибки при отправке формы afb_error_send_mail
  • Исправлено: рефакторинг

= 1.3.0 =

  • Добавлено - вывод кнопки для отображеня нескольких кнопок на страницы
  • Исправлено - наложение всплывашки

= 1.2.0 =

  • Обновлено - отправки формы по событию submit
  • Исправлено - форматирования емайлов при отправке реста
  • Исправлено - работа валидации полей
  • Исправлено - вывод полей в шаблоне письма и в модальном окне

= 1.1.1 =

  • Исправлено - правки стилей

= 1.1.0 =

  • Добавлено - возможность изменения шаблонов через файлы темы
  • Добавлено - триггеры для отслеживания событий
  • Добавлено - динамическая генерация полей
  • Добавлено - фильтр afb_form_fields - для возможности изменения полей
  • Добавлено - фильтр afb_locate_template - для возможности изменения пути к файлам шаблонов
  • Исправлено - мелкие правки

= 1.0.2 =

  • Добавлено - атрибуты шорткода
  • Добавлено - атрибуты шорткода, управление адресом почты

= 1.0.1 =

  • Рефакторинг - вынос шорткода в отдельный класс

= 1.0.0 =

  • Релиз

Releases

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

Tag
Published
Assets
Downloads
1.4.5 latest
Mar 20, 2024 2 years ago
art-feedback-button.zip
61
Jun 3, 2023 3 years ago
art-feedback-button.zip
24
Mar 16, 2023 3 years ago
art-feedback-button.zip
12
Mar 16, 2023 3 years ago
art-feedback-button.zip
6
Mar 12, 2023 3 years ago
art-feedback-button.zip
6
Mar 5, 2023 3 years ago
art-feedback-button.zip
5
Oct 12, 2021 5 years ago
tag only
—
Oct 12, 2021 5 years ago
tag only
—
Sep 24, 2021 5 years ago
tag only
—
Feb 14, 2021 5 years ago
tag only
—

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

C- grade

Security

Art Feedback Button 1.4.5 · audited by WP Registry

High-severity findings.

1 high
Audited release
1.4.5
Findings
1
Worst severity
high
Content hash
03a3ecabecfa86e0319cf993…

Findings

  • high Unauthenticated mail send to arbitrary recipients via unsigned afb-emails

    unsafe_input

    POST /wp-json/afb/v1/form is registered with permission_callback __return_true and has no nonce, capability, captcha, or rate limit. Rest::form() takes the full request params, validates only the default name/email/phone fields, then Rest::send() builds $email_to from get_option('admin_email') unless afb-emails is present — in which case it base64_decodes the client value, splits on commas, trims, and passes the array to wp_mail() with no is_email() check and no server-side allowlist. The shortcode only base64_encodes its emails attribute into data-afb-emails / a hidden input (classes/class-shortcode.php, templates/form.php); that encoding is not a secret and is not HMAC-signed, so any unauthenticated client can mint recipients. Observable: POST application/x-www-form-urlencoded to /wp-json/afb/v1/form with afb-name=Test&afb-email=attacker@example.com&afb-phone=79999999999&afb-emails=dmljdGltQGV4YW1wbGUuY29t delivers the HTML callback mail to victim@example.com from info@{site host}. Comma-separated decoded lists send one message to many To: addresses. The sibling POST /afb/v1/window is also public but only reflects emails through esc_attr into the hidden field (not XSS).

    classes/class-rest.php:37-45,110-116

    Recommendation

    Do not trust client-supplied recipient lists. Keep destinations in a server-side allowlist (options or a signed token bound to the shortcode, e.g. wp_hash of the email list) and ignore afb-emails unless the signature matches. Validate every address with is_email(), cap the recipient count, and add rate limiting or a captcha on the public form. Default-only-to-admin_email is acceptable; arbitrary To: is not.

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.