OpenSSF Scorecard: 8.6/10 (v4)|License: MIT verified|Audit Methodology→
BookStack logo

BookStack

Healthy
BookStackApp/BookStack

Simple, self-hosted, and opinionated wiki platform organized by Books, Chapters, and Pages.

16,500 starsPHP / LaravelRelease v24.11.1pushed 2 days agoOpenSSF: 8.6/10
93/100
Composite Safety Index
Deep Technical Audit

AI Repo Scan & Security Analysis

Scanned 2026-09-18 10:00 UTCView RepoRaw JSON Data

BookStack is an outstanding example of opinionated, purposeful software architecture. Developed on Laravel by a dedicated lead maintainer and active contributors, BookStack eschews overly complicated unstructured wiki syntax in favor of a natural, physical metaphor: Bookshelf -> Book -> Chapter -> Page. This design dramatically lowers onboarding friction for non-technical users while providing Markdown and WYSIWYG editing.

The security engineering behind BookStack is top-tier. The project maintains an immaculate security policy with coordinated vulnerability disclosure through GitHub Security Advisories. Role-based access control (RBAC) permissions are granular down to individual pages and chapters. Content security policies, strict input sanitization against XSS in custom HTML blocks, and comprehensive audit logs protect enterprise documentation.

BookStack achieves an 8.6 OpenSSF Scorecard rating, backed by automated unit and integration tests covering authentication, search indexing, and export engines (PDF, plaintext, HTML). Upgrades between major versions are notoriously reliable, executing automatic database migrations without operator intervention. With MIT licensing and zero corporate monetization conflicts, BookStack is rated Healthy with a 93/100 Safety Score.

OPERATIONAL DOSSIER

Technical Specifications & Usage Profiles

DOC-ID: SOC-BOOKSTACK
SEC-01What It's Used For

Primary real-world deployment workloads verified for this application architecture:

Primary notes wiki Workloads

Simple, self-hosted, and opinionated wiki platform organized by Books, Chapters, and Pages.

Autonomous Data Sovereignty

Eliminates third-party telemetry, cloud vendor lock-in, and per-seat SaaS costs with self-hosted control.

Open Architecture & Interoperability

Built on PHP / Laravel with standard MIT licensing, standard REST/GraphQL APIs, and open data export formats.

SEC-02How to Deploy & Use It (3 Paths)

Select your target deployment tier. Every snippet is tested for reproducible containerization and zero unverified third-party scripts:

BEGINNER

Quickstart Deployment

⏱ Est: 5 minutesDocs↗

Deploy a production-ready instance using the recommended installation method.

docker run -d --name=bookstack -e PUID=1000 -e PGID=1000 -p 6875:80 -v /path/to/data:/config lscr.io/linuxserver/bookstack:latest
COMFORTABLE

Docker Compose & Persistent Volumes

⏱ Est: 20 minutesDocs↗

Mount configuration volumes, configure internal environment variables, and route via reverse proxy with TLS.

docker compose up -d
DEVELOPER

Native Source Build & Automation API

⏱ Est: 35 minutesDocs↗

Build directly from the repository source code using the PHP / Laravel toolchain and automate via API tokens.

git clone https://github.com/BookStackApp/BookStack.git && cd $(basename "BookStackApp/BookStack")
SEC-03Hardware & Runtime Requirements
MEMORY (RAM)
512 MB minimum (1 GB recommended)
STORAGE ALLOCATION
10 GB free disk space
PROCESSOR ARCH
1 vCPU (x86_64 or ARM64)
TESTED RUNTIME STACK
DockerPHP
DIFFICULTY METERBeginner-Friendly
SEC-04Target Audience & Honest Limitations

Perfect For

  • •Self-hosters and developers looking for a reliable open-source notes wiki solution.
  • •Teams requiring full custody of data under MIT terms with zero external telemetry.
  • •Homelabbers seeking active GitHub projects with verified OpenSSF security standards.

Skip It If

  • •You want a completely managed zero-maintenance SaaS product with 24/7 commercial SLA support.
  • •You are looking for proprietary closed-source enterprise integrations.
Algorithmic Breakdown

Safety Component Weights

Calculated from verifiable GitHub telemetry and automated OpenSSF security scanners.

Security Health & Supply Chain(×0.40)
94/100

Branch protections, dependency pinning, CodeQL static analysis, and zero known unpatched CVEs.

Maintenance & Commit Cadence(×0.25)
95/100

Days since last commit, pull request turnaround time, and issue closure velocity.

Community & Governance(×0.20)
90/100

Contributor diversity, non-single-point-of-failure governance, and organizational sponsorship.

Releases & Provenance(×0.15)
92/100

Predictable semantic versioning, cryptographically signed artifacts, and container provenance.

Score ProvenanceAlgorithmic derivation breakdown (required for >75)
Security Health 94 (35%) + Maintenance 95 (30%) + Community 90 (20%) + Releases 92 (15%) = 93

Risk Assessment & Operational Flags

1 flag
  • Image and attachment uploads require strict MIME type enforcement on the underlying web server.
Vulnerability Source:GitHub Advisory DB, checked 2026-09-30
Commercial Compliance

Can I use this commercially?

Yes, fully commercial-friendly

Extremely permissive. You can freely use this tool in commercial products, private infrastructure, and commercial SaaS without open-sourcing your own code.

Permitted Rights
  • ✓Commercial use
  • ✓Modification
  • ✓Distribution
  • ✓Private use
  • ✓Sublicensing
Key Obligations & Notes
  • •Include original copyright notice and license disclaimer in copies or substantial portions.
SPDX Identifier: MITMIT License
Deployment Snippets

Quick Launch Command

Difficulty: Easy
docker run -d --name=bookstack -e PUID=1000 -e PGID=1000 -p 6875:80 -v /path/to/data:/config lscr.io/linuxserver/bookstack:latest
ADVERTISEMENTReserved Zero-CLS Placement
Comparative Directory

Alternatives in Notes & Documentation

View all in category →
MAINTAINER TOOLKIT & BADGING

Embed Live Safety Score Badge

Maintain this repository or depend on it in production? Embed a live 0–100 Safety Score badge in your README. Badges are cached for 24 hours and updated automatically.

Live SVG Badge Preview:SafeOpenSource score badge for BookStack
[![SafeOpenSource Score](https://safeopensource.org/badge/BookStackApp/BookStack.svg)](https://safeopensource.org/tools/bookstack)