Skip to content

v7.1.2

Latest

Choose a tag to compare

@snoro snoro released this 21 Nov 05:28
· 1 commit to master since this release

This version contains security fixes. We strongly recommend updating.
This version requires exceedone/exment-admin-core v1.0.5 (installed by composer update).

  1. Vulnerability fixes
  2. Security hardening
    • Permission checks on record actions: copy, file attachments, comments, plugin buttons, workflow users, deleting files
    • The send-mail dialog fills only the template's words, and attaches only the record's files
    • Escaping of the user info in the header and of selected records on public forms
    • Limits on wrong passwords for oauth/token; the API key must belong to the client
    • SSO login is refused when the provider says the e-mail address is not verified
    • Webhooks are not sent to the server itself or internal addresses (private addresses can also be refused with EXMENT_NOTIFY_WEBHOOK_DENY_PRIVATE=true)
    • X-Frame-Options and X-Content-Type-Options on admin and login pages (EXMENT_X_FRAME_OPTIONS)
    • reCAPTCHA on public forms is checked on save too; table and column names are checked
  3. Improvements
    • JS libraries updated (jQuery UI, jQuery Validation, Chart.js, CodeMirror, jstree) (#1848)
    • Studio app: attach photos and files (#1849), read QR and bar codes with the camera (#1851)

How to update:

composer update exceedone/exment exceedone/exment-admin-core
php artisan exment:update

Then reload the browser with Ctrl+F5.

Notes:

  • Webhook URLs to the server itself or link-local addresses (localhost, 169.254.x.x and so on) are refused from this version. A notify already saved with such a URL stops sending, and a line is written to the log. To post to a chat server on the same server, list its host name in EXMENT_NOTIFY_WEBHOOK_ALLOW_HOSTS in .env (comma separated).
  • Admin and login pages are no longer shown inside a frame of another site (X-Frame-Options: SAMEORIGIN). If you embed Exment in another site, set EXMENT_X_FRAME_OPTIONS in .env (an empty value turns the header off). Public forms are not changed.

Full Changelog: v7.1.1...v7.1.2