Skip to content
slackero edited this page Nov 26, 2026 · 3 revisions

Security

Reporting a vulnerability

Please report security vulnerabilities privately — do not open a public issue. See the security policy for how to report.

All published advisories: https://github.com/slackero/phpwcms/security/advisories

2026-11-26 — Security release: 1.9.56, 1.12.10 and 2.0.0-beta.8

Five advisories published on 2026-11-26, all fixed in these releases:

Affected: 1.9.50 – 1.9.55, 1.12.8 – 1.12.9 and 2.0.0-beta.7 and earlier. The chat finding does not exist on the 2.x line (no chat module). Update to 1.9.56, 1.12.10 or 2.0.0-beta.8.

Advisory Issue Severity
GHSA-2gqr-8gmv-2vg4 Article and content-part titles run script in the administrator's backend origin high
GHSA-75qh-mj95-rhq3 Profile update SQL injection enables administrator account takeover high
GHSA-4f4g-cxrq-vff5 Article-body download template traversal discloses local files high
GHSA-6rq2-q6p6-m79v Stored cross-site scripting through unsanitized RSS feed imports high
GHSA-gv2c-9fm8-4v2q Stored XSS via user-editable backend username in the global chat high

The article-list finding was escaped with HTML entities only, which the browser decodes before an inline handler runs. Inline handler values and <script> blocks now use js_string(), js_inline_string() and js_tooltip_string(), which escape at JavaScript level first; js_singlequote() is deprecated. The other four fixes identify the profile row by session id, resolve stored download templates through the template path guard, and run imported summaries and chat names through HTMLPurifier or html().

Each release attaches an incremental archive, but the fix is already contained in the full package. See the release notes for the per-release summary.

2026-11-25 — Security release: 1.12.9, 1.9.55 and 2.0.0-beta.6

Ten advisories published on 2026-11-25, all fixed in these releases:

Affected: 1.9.49 – 1.12.8 and 2.0.0-beta.1 – 2.0.0-beta.5. The fixes are also part of 2.0.0-beta.7.

Advisory Issue Severity
GHSA-cx22-h9mj-x432 img/random_image.php: unrestricted access to caller-selected archive images high
GHSA-vf78-4qc9-mgj8 img/random_image.php: path traversal reads images outside the application root high
GHSA-9wxr-jcrj-j6vc img/cmsimage.php: missing frontend grant check exposes restricted images high
GHSA-j52f-5994-j8mx Glossary template traversal permits local-file disclosure high
GHSA-f5cw-xh8w-pvjj Timestamp-seeded Content Part 28 password reset enables account takeover high
GHSA-vv25-3jh4-fw2p Private file listing XSS via copyright metadata high
GHSA-555f-prgg-6g47 Backend article status toggle permits cross-owner publication high
GHSA-p953-wpxf-h7c6 Missing per-form authorization in the backend form-results export high
GHSA-28j7-mvfw-35pw Authenticated local file disclosure through Content Part 21 high
GHSA-f3vf-5639-qg4p Anonymous form upload stores scriptable HTML on the application origin critical

Update to 1.9.55, 1.12.9 or 2.0.0-beta.6 (or newer). See the release notes for the per-release summary.

CVE-2026-110025 — Unauthenticated .phtml upload leads to remote code execution (Critical)

Published 2026-10-13 — GHSA-2c7r-324f-fxm4, CWE-434. Reported by Fernando Viana (capivara-research).

The public Form content part (content type 23) accepted uploaded files whose extension was not on the denylist. The default denylist did not cover .phtml and other server-dependent executable extensions, so an uploaded file was stored under the web-accessible content/form/ directory with its dangerous extension preserved. On web servers that map such extensions to the PHP handler (standard Apache/mod_php configuration), requesting the uploaded file executed it as PHP code — without any phpwcms account or backend access.

Line Affected Fixed in
1.9.x legacy 1.9.0 – 1.9.49 1.9.50
1.10.x – 1.12.x 1.10.0 – 1.12.3 1.12.4
2.x development up to pre-beta.1 state 2.0.0-beta.1

Preconditions: a published form with an upload field, no explicit accept list for that field, default upload folder content/form/, and a web server that maps an executable extension to a PHP handler.

Update immediately if any publicly reachable form contains an upload field: https://github.com/slackero/phpwcms/releases

If an immediate update is not possible, workarounds and full technical details: https://github.com/slackero/phpwcms/security/advisories/GHSA-2c7r-324f-fxm4

Wiki

Documentation (2.x)

General (2)
Requirements (1)
Installation & Updates (5)
Administration (7)
Backend (6)
Frontend (4)
Frontend — Replacement Tags (11)
Templates (5)
Content Parts (38)
Modules (13)

Older documentation (1.x)

Links

Clone this wiki locally