Repository navigation
v8.0.0 (2026-12-03)
Security Fixes
This release fixes 11 security advisories. All installations should
upgrade.
-
GHSA-79c7-2gmx-hm52: Reservation titles, descriptions and labels were shown without HTML
escaping on the reservation pages, the embedded calendar, the monitor display and in notification
emails. A user could run script in the browser of anyone viewing a reservation, or inject HTML
into emails. Custom email templates that apply the escape modifier to $Title or $Description
should remove it, or these values are encoded twice. -
GHSA-9chf-f284-rpgh: Any user could take over another user's reservation, including a
recurring series, through the web form or the API. Edit rights are now checked against the stored
owner and resources. Resource and schedule admins can no longer change the owner of a
reservation. -
GHSA-gcjq-mq8p-7qj8: The CSRF token was only checked for POST requests, and some admin pages
did not check it at all. A malicious site could make a logged-in administrator delete users,
reset passwords or change settings. The token is now required for every page action. Custom
scripts, links or bookmarks that call a page with ?action= must send the CSRF token in a POST
request. -
GHSA-fj67-jrmj-fjw6: With the SAML plugin enabled, anyone able to sign in at the identity
provider could get a session as any other account, including an administrator. The account is
now taken only from the SAML assertion. Sign-in fails when the assertion carries no username, so
check that simplesamlphp.username matches the attribute your identity provider sends. -
GHSA-h9v8-r4c5-hm9x: The Google, Microsoft, Keycloak and generic OAuth2 logins did not check
the OAuth state, so an attacker could get someone's browser logged in to the attacker's account
(login CSRF). Logins now use a session-bound state and PKCE. An OAuth login must start from the
LibreBooking login page and be completed within 10 minutes. -
GHSA-xx5g-jj3g-p2rq: A guest email address saved through the API could run script in the
browser of anyone opening the reservation, including administrators. Guest addresses are now
escaped, and a new guest whose address is not a valid email address is rejected on the web form
and the API. -
GHSA-c9v9-qj65-j326: The user details popup answered visitors who were not signed in, so
names, email addresses and phone numbers of all users could be collected. It now answers
signed-in users only. No action is needed. -
GHSA-5f45-6cmr-86j2: Users could set their own admin only custom attributes through the
profile page, registration or the account API. These values are now ignored unless an
administrator sets them. Values saved before the upgrade are not changed, so review them if you
rely on these attributes. -
GHSA-mv7j-pm32-cf4c: The guest invitation page, which needs no login, let anyone who knew a
reference number add any registered user to a reservation, and it ignored the guest participation
settings. Only invited guests can now answer an invitation. No action is needed. -
GHSA-f493-m8m3-w762: Temporary passwords and password salts were generated with a predictable
random number generator. They now use a cryptographically secure generator. Existing passwords
keep working and no action is needed. -
GHSA-jm36-8q5v-hqqv: A user without permission on a resource could read reservation details
through the PDF data, the calendar export, the attribute endpoints, reservation labels and the
API. One visibility rule now applies everywhere. A calendar link opened without signing in shows
only the time and the resource, and labels and the API hide private and admin only attribute
values.
Breaking Changes
-
PHP 8.2 and 8.3 are no longer supported. Upgrade to PHP 8.4 or newer before installing this
release. -
auth: The Moodle authentication plugin is removed. Sites with plugins.authentication set to
Moodle fall back to the built-in database authentication and should switch to MoodleAdv. MoodleAdv
does not provide the session-cookie single sign-on this plugin had.
Bug Fixes
-
Replace is_a() with instanceof to avoid PHP 8.6 deprecation (
5cc5de3) -
accessories: Reject nested resource entries (
1061529) -
accessories: Reject resources without their quantities (
ccc443a) -
admin: Reject inline attribute updates without a name (
ec771a6) -
admin: Reject malformed email template saves (
6b98a83) -
admin: Reject payment settings the database cannot store (
4368f27) -
admin: Report failed validators by id in AdminPage (
b722f5d) -
admin: Report rejected credit cost changes to the admin (
dbe71a6) -
admin: Require a CSRF token for data cleanup actions (
af52acc) -
admin: Require a CSRF token for server settings actions (
d4985cb) -
admin: Require reference for reservation status update (
1d3dd45) -
admin: Stop malformed credit cost requests zeroing prices (
21ebde4) -
api: Allow omitting dates when loading schedule slots (
e91b592) -
API: Apply the attribute privacy rules to a reservation (
fd41eec) -
API: Enforce resource access on single reservation GET (
cf28de0) -
API: Fill the IDs in resource and account response links (
395855c) -
API: Honor the route resourceId in resource availability (
02edaf6) -
API: Only list attachments the user can download (
63c4fd6) -
API: Reject non-numeric IDs in route paths (
381f8a1) -
API: Stop the docblock parser from looping forever (
4548d08) -
api: Treat a missing group isDefault as false (
b500b7f) -
API: Use the token's user for an authenticated API request (
13ecb14) -
attachments: Restrict reservation attachment downloads (
a2dda52) -
attributes: Allow optional attributes with a regex to be empty (
8390e5d) -
attributes: Ignore admin only attributes set by their owner (
e799af6) -
auth: Correct AuthenticatedUser nullable types (
4df8231) -
auth: Decode resume URL before using it as OAuth state (
9833823) -
auth: Generate passwords and salts with a secure generator (
e846a33) -
auth: Give the post-logout page its own class name (
732c75e) -
auth: Harden redirect target validation (
be110f3) -
auth: Preserve redirect target through Google OAuth login (
ebe3130) -
auth: Preserve redirect target through Keycloak and OAuth2 login (
e8d1a0a) -
auth: Validate code/state as scalars in OAuth callback scripts (
2ba7d69) -
availability-search: Run BeforeFormSubmit after validateTimes (
caf05f0) -
blackouts: Reject unsupported series scopes (
839e323) -
calendar: Keep selected resource group in saved filter (
c3b39db) -
calendar: Omit ORGANIZER when there is no organizer email (
e606c27) -
calendar: Send reservation emails as iTip REQUEST and CANCEL (
41a2f0d) -
dates: Reject time strings with non-numeric parts (
3ba23b8) -
dependabot: Have it group the stylelint changes together (
cf6b989) -
email: Escape reservation title and description (
d2b54bc) -
email: Use shared Google Calendar URL in da/hu templates (
43619d0) -
email: Use the owner subject for the reservation updated email (
c7ba155) -
embedded-calendar: Escape reservation labels (
2f45d62) -
i18n: Complete the Russian translation and check it in context (
49b3047) -
i18n: Proofread the Russian translation (
d564bde) -
i18n: Use leading zeros in German date formats (
9d2a424) -
install: Allow special characters in install password (
2ff930a) -
install: Report skipped upgrade steps as successful (
bb5ec61) -
jquery.form: Load jquery.form only once (
0ed1948) -
js: Send the CSRF token with requests that run page actions (
c383aec) -
labels: Apply the privacy rules to label placeholders (
d1f096a) -
lang: Store language names as UTF-8 (
c989022) -
logging: Log uncaught exceptions one line at a time (
1369a7b) -
logging: Pass literal format strings to Log calls (
3be7c93) -
login: Cap the logo size instead of stretching it (
fce306f) -
monitor-display: Escape reservation slot labels (
a66422c) -
moodleadv: Reject login on unusable auth settings (
cd9f3ae) -
oauth: Bind the OAuth state to the session and use PKCE (
60468d3) -
pagination: HTML-escape pagination link URLs (
cbe7f66) -
participation: Honor the guest participation settings (
541a9bd) -
participation: Only let invited guests answer an invitation (
eaaf3cc) -
payments: Keep stored settings when a write fails (
eb2045e) -
payments: Send Stripe amounts in whole minor units (
5f9da65) -
permissions: Reject malformed resource permission entries (
21d8afe) -
profile: Require a CSRF token to save notification preferences (
dd7b071) -
qr: Route resource QR scans to the scanner's own reservation (
e3f26ff) -
quotas: Stop treating Sunday-only days as every day (
1edb573) -
reports: Handle missing duration and URL parameters (
ff9f1e6) -
reservation: Reject repeat intervals below 1 (
1f03764) -
reservation: Require ownership for non-admin check-in (
afbd001) -
reservations: Apply one visibility rule to reservation details (
32dbb66) -
reservations: Check edit rights against stored owner on update (
1086b98) -
reservations: Count peak concurrent accessory usage (
da3fb91) -
reservations: Escape and validate guest email addresses (
f63d870) -
reservations: Escape description in Google Calendar links (
294b9a9) -
reservations: Escape title and description in templates (
dfa0114) -
reservations: Generate reference numbers with random_bytes (
9982146) -
reservations: Give every failed validation an error message (
0d0c386) -
reservations: Reject unknown accessory IDs instead of failing (
dd797a0) -
reservations: Report a real error when approval is refused (
9a253ea) -
reservations: Report rejected attachment uploads (
aefb883) -
reservations: Stop double-encoding title and Google links (
5abdd94) -
resource-display: Sync refresh with reservation modal lifecycle (
fede45e) -
saml: Sign in as the user asserted by the identity provider (
301a0c1) -
schedule: Check schedule filter values as whole numbers (
29fc213) -
schedules: Keep data when a submitted date is malformed (
23502e8) -
schedules: Select the saved days when editing peak times (
5c111d7) -
security: Deny web access to directories outside Web (
9d77d36) -
security: Enforce the CSRF token for every request method (
7ee9c32) -
security: Only offer the Smarty debug console in debug mode (
36f87ee) -
server: Escape nested form arrays instead of failing (
4fb9c2b) -
smarty: Escape HTML attributes and inline JavaScript arrays (
d3a62be) -
smarty: Return typed output from rendering plugins (
8499ad3) -
subscriptions: Describe copy action in feed link tooltips (
582715a) -
templates: Avoid deprecation output for NULL profile fields (
d4d3567) -
uploads: Compare file extensions case-insensitively (
7e7b545) -
uploads: Show the real size limit and log oversized requests (
fa639dc) -
users: Hide user details from visitors who are not signed in (
e1d9480) -
validators: Accept pages served without /Web in the path (
ce70f94)
Build System
-
Require PHP 8.4 or newer (
037a0b7) -
Ship an empty tpl_c directory in the release (
ef8f9cf) -
assets: Vendor five local font families (
bedc42e) -
phpstan: Analyse scripts and stop excluding Web/css (
714a30f) -
phpstan: Analyse the WordPress plugin (
351b26b) -
phpstan: Narrow the plugins exclusion to a rollout list (
f2296ba) -
phpstan: Remove exclusions that match nothing (
ef61c5c) -
psalm: Add a level 8 check to CI (
a308859) -
psalm: Raise the analysis level to 7 (
15b2ce8) -
templating: Add twig/twig dependency (
db069f7) -
twig: Add twig-cs-fixer and run it in CI (
2735cf7)
Chores
-
Remove CLAUDE.md symlink (
01cd639) -
Switch primary branch references from develop to main (
70c2b0c) -
assets: Load moment.js only with x-editable (
36cb9f2) -
branding: Replace application icon and logo (
a14d8f6) -
js: Remove commented-out code (
c84532e) -
phpstan: Correct CustomAttribute parameter types (
499d2e0) -
phpstan: Correct reservation, group and accessory arg types (
3f0002d) -
phpstan: Enable level 3 for attribute, payment and quota pages (
b5d8f96) -
phpstan: Enable level 3 for Domain/ (
f136c12) -
phpstan: Enable level 3 for lib/ except for lib/Application/ (
6a6b677) -
phpstan: Enable level 3 for lib/Application/ (
bc6af66) -
phpstan: Enable level 3 for Presenters/ (
1dd59ac) -
phpstan: Enable level 3 for reservation and schedule admin pages (
3b79bcd) -
phpstan: Enable level 3 for the resource admin pages (
e09043b) -
phpstan: Enable level 3 for user, group and other admin pages (
b88abfe) -
phpstan: Enable level 4 for Domain/ and Presenters/ (
bb71700) -
phpstan: Enable level 4 for lib/ helpers, Pages/ and installer (
2e2a871) -
phpstan: Enable level 4 for lib/Application/ (
5a75bf0) -
phpstan: Enable level 4 for tests/ (
7b2b2f6) -
phpstan: Enable level 4 for WebServices/ (
7631eeb) -
phpstan: Enable level 5 for Domain/ (
23d8261) -
phpstan: Enable level 5 for jobs, phing tasks and small areas (
9443b28) -
phpstan: Enable level 5 for lib/Application/ and its tests (
1e8feff) -
phpstan: Enable level 5 for lib/Common/ and Pages/ (
8000866) -
phpstan: Enable level 5 for lib/Database/ (
1d9aac5) -
phpstan: Enable level 5 for Presenters/ and its tests (
743d666) -
phpstan: Enable level 5 for WebServices/ (
e5de788) -
phpstan: Enforce level 3 and start the level 4 rollout (
0721022) -
phpstan: Enforce level 4 and start the level 5 rollout (
978fbf0) -
phpstan: Enforce level 5 and start the level 6 rollout (
6f3bf6f) -
phpstan: Give Page::Set() native parameter types (
f099997) -
phpstan: Give SqlFilterEquals native parameter types (
fdf766a) -
phpstan: Give TestReservationItemView native parameter types (
7949e10) -
reminder.js: Remove unused reminder.js (
257258e)
Continuous Integration
-
Add PHP 8.6 to the PHPUnit and lint matrices (
5efdb54) -
e2e: Run Docker Playwright tests in GitHub Actions (
822f9e7) -
e2e: Split Docker image setup from the test run (
5159fd7) -
stylelint: Delete rule that was removed (
22e7d6d)
Documentation
-
agents: Apply named arguments to new calls too (
be8d309) -
agents: Keep PHPUnit assertions positional (
3f8ea9e) -
agents: Require named arguments on changed calls (
62cea57) -
branding: Add icon, social card, PNG renders and README (
ef2ec12) -
branding: Add logo and icon SVG sources (
1802d36) -
config: Document font selection (
85db59e) -
readme: Add LibreBooking logo (
5c05f12) -
readme: Document languages, themes and fonts (
d9becca) -
readme: Refresh screenshots and remove unused images (
522235b)
Features
-
API: Expose and manage resource administrator groups (
5785a7f) -
attributes: Explain attribute options with tooltips (
9116cf7) -
config: Add font selection setting (
ea91949) -
config: Add template.engine setting (
4aebf61) -
fonts: Apply configured font to the interface (
8b89031) -
i18n: Add Russian email templates (
cc6f08d) -
i18n: Complete the Swedish translation (
1371a46) -
i18n: Use Russian date formats (
1c9196b) -
pagination: Restore server-side pagination (
15225ce) -
theme: Use a theme-colored SVG default logo and favicon (
39100a6)
Refactoring
-
Align application method parameter names (
206c4a2) -
Simplify template paths in page display calls (
ec50c05) -
accordion: Replace jQuery with vanilla JavaScript (
a5764f9) -
activedirectory: Fix PHPStan errors in the plugin (
e3722fc) -
admin: Remove unused popover setup (
8b68d45) -
auth: Align named arguments across implementations (
753bf30) -
auth: Align registration and test fake parameters (
40956e3) -
auth: Drop redundant null check in GetUserGroups (
4ec8ef4) -
auth: Load plugin configuration once (
296da9b) -
auth: Name UserSession parameters $userSession (
91dd8e6) -
auth: Remove the Moodle authentication plugin (
299e734) -
auth: Simplify Active Directory group handling (
b4fe8c1) -
bootstrap: Register the autoloader in the legacy bootstrap (
1dd1078) -
calendar: Remove unreachable recurrence rule code (
60bf4f9) -
cancel: Remove obsolete jQuery cancel handlers (
ed64c01) -
collapse: Use shared instance helper (
fcc34b7) -
config: Name the GetKey parameter the same everywhere (
ff8e333) -
database: Align MySQL connection parameter names (
05944c4) -
datepicker: Remove legacy date setup template (
3d739df) -
decodeNames: Make function globally available (
d46dbc7) -
email: Remove unused EmailLogger (
9cb9958) -
events: Declare reservation series types on events (
2712073) -
group-admin: Extract hideDialog helper for modals (
260c2e0) -
groups: Store a group's default flag as a bool (
b2ce05d) -
jqtree: Use decodeNames in calendar and resource groups (
3a2e3b7) -
ldap: Remove dead code from the LDAP plugin (
8a64405) -
login: Align page setter parameter names (
ef9acfa) -
modals: Add setDialogVisible for Bootstrap modals (
94cb0e8) -
modals: Use setDialogVisible for dialog handling (
5d552b7) -
notifications: Align owner email parameter names (
643d697) -
pages: Add typed string request helpers (
09ad0b0) -
pages: Align admin and install page parameter names (
825d809) -
pages: Align remaining page parameter names (
40ebaf6) -
pages: Read admin list requests via typed helpers (
978565a) -
pages: Read admin string requests via typed helpers (
07283f6) -
plugins: Fix PHPStan errors in five plugins (
2fde371) -
qr: Rename router reference lookup to state its filter (
3df47de) -
reminders: Remove the unused GoogleVoice SMS code (
90bf881) -
repositories: Align parameter names across implementations (
69323e8) -
reservations: Align persistence parameter names (
176cb82) -
reservations: Align repeat change parameter names (
60b0901) -
reservations: Align repeat date parameter names (
7e66404) -
reservations: Align repository parameter names (
f7ced33) -
reservations: Align validation service parameters (
5068058) -
reservations: Give the persistence factory typed methods (
dc8b1a4) -
resources: Serve the QR code page as a data request (
cd99bc8) -
saml: Fix PHPStan errors in the Saml plugin (
cb0c927) -
schedule: Name UserSession parameters $userSession (
af50cdd) -
schedule: Remove unused page builder GetGroupId() (
4a61696) -
shibboleth: Document lazily initialised properties (
7ed4fdc) -
smarty: Type remaining plugin callbacks and helpers (
4b680d2) -
templating: Add SmartyRenderer wrapping SmartyPage (
867a6d7) -
templating: Add TemplateRenderer interface (
0dff053) -
templating: Add TwigRenderer skeleton (
e550591) -
templating: Use ROOT_DIR in TwigRenderer (
161b0ce) -
types: Clarify role and attribute parameter types (
1124995) -
types: Clarify Smarty count mode and SAML nullability (
d007771) -
validation: Let PageValidators track failed validators (
32ad21d)
Testing
-
config: Drop redundant plugin class count assertion (
bfcac1d) -
e2e: Add an isolated Docker stack and Playwright project (
63fe96a) -
fixtures: Make the authorization data include portable (
a88f2ea) -
fonts: Cover font configuration and loading (
4f76ea3) -
pages: Align test double parameter names (
f000bf4) -
reminders: Fix the Reminder include path in FakeReminder (
039905c)
Detailed Changes: v7.2.0...v8.0.0