Read 2026-10-04
statamic/cms: technical due diligence, read from its repository
What Borehole read in statamic/cms's code and history at 15b522f: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
LICENSE.md:1: The licence is a commercial licence: source available, not open source
Architecture & Codebase — including AI provenance
strongsrc/Modifiers/CoreModifiers.php is 3,329 lines, 56× this codebase's median file
adequateThe median source file here is 59 lines. 13 files exceed 1,000 lines, the largest being 3,329. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.
src/Modifiers/CoreModifiers.php:1 — 3,329 lines (56× median) |
src/View/Antlers/Language/Parser/LanguageParser.php:1 — 2,946 lines (49× median) |
src/View/Antlers/Language/Runtime/NodeProcessor.php:1 — 2,868 lines (48× median) |
src/View/Antlers/Language/Parser/DocumentParser.php:1 — 1,811 lines (30× median) |
src/View/Antlers/Language/Runtime/Sandbox/Environment.php:1 — 1,711 lines (29× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongReleases are cut from another branch than the one surveyed
adequateThe newest release, v6.34.1, is not on the branch this survey read; the newest release on it is v6.22.0. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v6.34.1 |
Security & Reliability Posture
adequate4 deserialisers that can run code
adequate4 places read data with a deserialiser that executes what it reads (PHP `unserialize`). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
src/StaticCaching/NoCache/DatabaseSession.php:43 — code-executing deserialiser |
src/StaticCaching/NoCache/Session.php:59 — code-executing deserialiser |
src/View/Slot.php:177 — code-executing deserialiser |
3 locked dependencies have published vulnerabilities, 9 high or critical in what ships
adequate3 of 294 locked dependencies match 16 published advisories in OSV, 9 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version.
package-lock.json — axios 1.18.1: GHSA-3pq3-5fj3-cg6v (high), fixed in 1.20.0 |
package-lock.json — brace-expansion 2.1.4: GHSA-6j4f-fj2g-mc7p (high), fixed in 2.1.5 |
package-lock.json — dompurify 3.4.13: GHSA-p98j-92pf-mc4p (low), fixed in 3.4.16 |
85 places insert HTML from a variable without sanitising it
adequate85 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.
resources/js/components/Tooltips.vue:107 — HTML from a variable |
resources/js/components/command-palette/CommandPalette.vue:369 — HTML from a variable |
resources/js/components/fieldtypes/DictionaryFieldtype.vue:40 — HTML from a variable |
The licence is a commercial licence: source available, not open source
adequateLICENSE.md grants a commercial licence: source available, not open source; use limited to what each licence grants. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.
LICENSE.md:1 — 19 lines, LicenseRef-Commercial |
39 advisories against this project in the last 24 months, 12 high or critical
adequateThe newest was published on 2026-09-16. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 36 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 6.22.0. Answer lives in: the release you run, set against each fixed version.
| 2026-09-16: GHSA-wj57-j7rq-v647 (moderate), fixed in 6.33.0: IP address protection scheme bypassable via a forwarded header |
| 2026-09-16: GHSA-qcj3-3rx2-4c2j (moderate), fixed in 6.31.0: User enumeration via timing discrepancy in login |
| 2026-08-14: GHSA-33fx-2776-vvp5 (high), fixed in 6.27.2: Unsafe method invocation via Antlers template resolution allows account takeover and data destruction |
| 2026-08-14: GHSA-7qmf-j24c-x6cx (moderate), fixed in 6.27.2: SVG sanitization bypassed for uploads whose file extension is not normalized |
| 2026-07-09: GHSA-qhr7-v3xp-vw9m (moderate), fixed in 6.24.2: Missing file upload validation on frontend forms allows uploading disallowed file types |
Observability & Operations
not assessableNot rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on statamic/cms: every dimension, the questions for the room, and the audit log.
Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.