# Librebooking ![LibreBooking logo](./docs/branding/librebooking.svg) > [!WARNING] > **Security: upgrade to LibreBooking 7.2.0 or later immediately.** > > All versions before 7.2.0 contain a high-severity stored cross-site > scripting (XSS) vulnerability that lets any signed-in user take over an > administrator account. The user stores a script in their own profile, > through the REST API or the profile page, and it runs when an > administrator views a page that shows it. Security fixes are not > backported, so no fix will be released for 7.1.x or earlier. > > There is no complete workaround. Disabling the API (`api.enabled` set to > `false`, the default) blocks the attack described in the advisory, but > related issues fixed in 7.2.0 can be exploited without the API. See the > [security advisory](https://github.com/LibreBooking/librebooking/security/advisories/GHSA-jg4x-fh83-8g8v) > for details, and get the > [latest release](https://github.com/LibreBooking/librebooking/releases/latest). > > If you have questions, join the > [Discord channel](https://discord.gg/4TGThPtmX8). Previous security update > [!WARNING] > **Security: upgrade to LibreBooking 7.1.0 or later immediately.** > > All versions before 7.1.0 contain a critical vulnerability that lets an > unauthenticated attacker sign in as another user, including an > administrator, by forging the "Remember Me" login cookie. Security fixes > are not backported, so no fix will be released for 7.0.x or earlier. > > LibreBooking 7.1.0 removes the "Remember Me" option. Users sign in again > once their session ends. > > If you cannot upgrade right away, configure your web server or reverse > proxy to remove the `persist_login` cookie from incoming requests. See the > [security advisory](https://github.com/LibreBooking/librebooking/security/advisories/GHSA-mvjx-72w3-wqhp) > for details and for how to check whether an installation was compromised, > and get the > [latest release](https://github.com/LibreBooking/librebooking/releases/latest). > > If you have questions, join the > [Discord channel](https://discord.gg/4TGThPtmX8) or comment on the > [related issue](https://github.com/LibreBooking/librebooking/issues/1779). [![GitHub issues](https://img.shields.io/github/issues/LibreBooking/librebooking)](https://github.com/LibreBooking/librebooking/issues) [![Last commit](https://img.shields.io/github/last-commit/LibreBooking/librebooking)](https://github.com/LibreBooking/librebooking/commits) [![GitHub release](https://img.shields.io/github/v/release/LibreBooking/librebooking?include_prereleases)](https://github.com/LibreBooking/librebooking/releases) [![License: GPL v3](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://github.com/LibreBooking/librebooking/blob/main/LICENSE.md) [![GitHub stars](https://img.shields.io/github/stars/LibreBooking/librebooking?style=flat)](https://github.com/LibreBooking/librebooking/stargazers) [![GitHub forks](https://img.shields.io/github/forks/LibreBooking/librebooking?style=flat)](https://github.com/LibreBooking/librebooking/network) [![PHP](https://img.shields.io/badge/PHP-8.4%2B-brightgreen.svg?logo=php)](https://www.php.net/) [![Database](https://img.shields.io/badge/Database-MySQL%20%3E%3D8.0%20%7C%20MariaDB%20%3E%3D10.6-blue.svg?logo=mysql)](https://www.mysql.com/) ![Platform](https://img.shields.io/badge/Platform-Web-lightgrey) ![Status](https://img.shields.io/badge/Status-Active-green) [![Docker](https://img.shields.io/badge/Docker-Supported-blue?logo=docker)](https://github.com/LibreBooking/docker) [![Docker pulls](https://img.shields.io/docker/pulls/librebooking/librebooking)](https://github.com/LibreBooking/docker) [![Discord](https://img.shields.io/badge/Discord-5865F2?style=flat&logo=discord&logoColor=white)](https://discord.gg/4TGThPtmX8) [![Docs](https://img.shields.io/badge/Docs-Available-lightgrey?logo=read-the-docs)](https://librebooking.readthedocs.io/en/latest/) โญ Star us on GitHub โ€” it motivates us a lot! ๐Ÿ”ฅ Join the community: [Discord discussion channel](https://discord.gg/4TGThPtmX8) . ## Table of Contents - [About](#-about) - [Features](#-features) - [Demo](#-demo) - [Screenshots](#-screenshots) - [Installation & Deployment](#-installation--deployment) - [Developer Documentation](#-developer-documentation) - [Configuration & Theming](#-configuration--theming) - [ReCaptcha](#-recaptcha) - [Community & Support](#-community--support) - [Contributing](#-contributing) - [Roadmap](#-roadmap) - [License](#-license) ## ๐Ÿš€ About **LibreBooking** is an open-source resource scheduling solution. It provides a flexible, mobile-friendly, and extensible interface for organizations to manage resource reservations. The repository for LibreBooking is hosted on GitHub at ; the `main` branch contains the latest code. LibreBooking is a fork of Booked Scheduler, based on Booked Scheduler's last open-source version released in 2020. Since then, LibreBooking has evolved significantly and diverged from the original project. ## โœจ Features - [x] Multi-resource booking & waitlists - [x] DataTables for advanced listings - [x] Role-based access control - [x] Quotas and credits for reservations - [x] Granular usage reporting - [x] Responsive Bootstrap 5 interface - [x] Multilingual interface (35+ languages) - [x] Custom themes, color schemes and fonts - [x] Plugin-ready architecture - [x] Outlook/Thunderbird integration through ics ## ๐Ÿงช Demo A live demo instance of LibreBooking is available for testing: [Try the demo](https://librebooking.readthedocs.io/en/latest/demo.html) | Role | Username | Password | | ----- | -------- | ----------- | | Admin | `admin` | `demoadmin` | | User | `user` | `demouser` | Note: This instance is public and **resets every 20 minutes** to ensure a clean environment. Startup might take a few seconds, so please be patient. ## ๐Ÿ“ธ Screenshots ![Login](./Web/img/readme/02.png) ![Schedules](./Web/img/readme/06.png) ![Dashboard](./Web/img/readme/03.png) ![User profile](./Web/img/readme/04.png) ![Search](./Web/img/readme/07.png) ![Report example](./Web/img/readme/15.png) ## ๐Ÿ”ง Installation & Deployment ### Manual Installation To run LibreBooking from a prebuilt release, your server needs: - PHP >= 8.4 with the extensions: ctype, curl, fileinfo, intl, json, mbstring, mysqli, openssl, pdo, pdo_mysql, tokenizer, xml - Optional PHP extensions: bcmath (needed for Active Directory authentication), gd (image processing), ldap (LDAP authentication) - Apache >= 2.4. Other web servers, including Nginx, may work when configured with equivalent routing and access-control rules, but are not currently supported or tested by the LibreBooking project. - MySQL >= 8.0 (2018) or MariaDB >= 10.6 (2021) - Composer (for managing PHP dependencies) - Git (optional, useful for cloning the repository or managing updates) LibreBooking only aims to support the current PHP release and the release before it (PHP 8.5 and 8.4 as of 2026-11-16). See [Supported PHP Versions](https://github.com/LibreBooking/librebooking/blob/main/CONTRIBUTING.md#supported-php-versions). For full setup instructions, see [INSTALLATION](https://github.com/LibreBooking/librebooking/blob/main/docs/source/INSTALLATION.rst) ### Docker Deployment LibreBooking is available as a Docker container. See [LibreBooking Docker README](https://github.com/LibreBooking/docker) for complete setup. ```bash git clone https://github.com/LibreBooking/docker.git cd docker docker-compose up -d ``` ## ๐Ÿ’ป Developer Documentation - See [docs/source/README.md](https://github.com/LibreBooking/librebooking/blob/main/docs/source/DEVELOPER-README.rst) for developer notes. - See [docs/source/API.rst](https://github.com/LibreBooking/librebooking/blob/main/docs/source/API.rst) for API notes. - See [docs/source/Oauth2-Configuration.rst](https://github.com/LibreBooking/librebooking/blob/main/docs/source/Oauth2-Configuration.rst) for Oauth2 configuration. - See [docs/source/SAML-Configuration.rst](https://github.com/LibreBooking/librebooking/blob/main/docs/source/SAML-Configuration.rst) for SAML configuration. - Codebase follows PSR-12 standards and GitHub Flow. ## ๐ŸŽจ Configuration & Theming For configuration options, see the [Configuration Guide](https://github.com/LibreBooking/librebooking/blob/main/docs/source/CONFIGURATION.rst). Recent configuration highlights: - Change the color theme and interface font in `config.php`: ```php 'css.theme' => 'default', 'css.font' => 'inter', ``` - Theme options: `default`, `dimgray`, `dark_red`, `dark_green`, `french_blue`, `cake_blue`, `orange`. The default logo follows the selected theme color. - Font options: `inter` (default), `montserrat`, `nunito`, `merriweather`, `atkinson-hyperlegible`, or `none` for the Bootstrap default. Fonts are bundled and served locally. - Add your own styles with `css.extension.file` instead of editing `Web/css/librebooking.css`. ## ๐Ÿ”’ ReCaptcha As of 09-Mar-2023, ReCaptcha integration updated to v3. Generate new keys for your domain if using ReCaptcha. ## ๐Ÿ’ฌ Community & Support - [Discord](https://discord.gg/4TGThPtmX8) - [Docs](https://librebooking.readthedocs.io/en/latest/) - [Issues](https://github.com/LibreBooking/librebooking/issues) - [Discussions](https://github.com/LibreBooking/librebooking/discussions) ## ๐Ÿค Contributing - Fork, file issues, suggest improvements. - Even non-coders can help by reporting bugs, testing, updating issues. - PRs welcome (docs, features, refactoring, fixes). - See CONTRIBUTING.md ## ๐Ÿ’ก Roadmap _Work in progress โ€“ roadmap to be defined._ Want to suggest a feature? [Open an issue](https://github.com/LibreBooking/librebooking/issues) or join the [Discord discussion channel](https://discord.gg/4TGThPtmX8). ## ๐Ÿ“œ License This project is licensed under **GPL-3.0**. ## ๐Ÿ™ Acknowledgments Forked from Booked Scheduler. Thanks to all contributors and the community. [Back to top](#librebooking)