ZeroHour

CVE-2026-81894

moderate

Stored DOM XSS via Gallery Block Captions in Concrete CMS <=9.5.2

CVSS 4.0
8.5 high
EPSS
Published
()
Modified
AI analysis

Concrete CMS 9.5.2 and below contains a stored DOM-based cross-site scripting (XSS) flaw in the Gallery block's per-image Caption field: the bundled Magnific Popup lightbox script (concrete/js/features/imagery/frontend.js) takes the attribute-decoded caption and re-parses it as HTML through jQuery's .append() in the titleSrc option instead of inserting it as plain text. A user with permission to edit a page containing a Gallery block can store a malicious caption, and that payload executes in the browser of any visitor who opens that image's lightbox. Successful exploitation lets the attacker run arbitrary JavaScript as the victim — enabling session hijacking, credential theft, and content manipulation — effectively escalating a page editor's limited privileges to those of administrators and ordinary site visitors. The Concrete CMS security team rated it CVSS v4.0 8.5 (high). No public proof of concept is known and there is no evidence of exploitation in the wild.

What to do: Upgrade Concrete CMS to a release newer than 9.5.2 (the latest 9.x) and clear page caches so the patched frontend.js is served to visitors. Audit existing Gallery block captions for HTML or script payloads and review edit history for suspicious changes by low-privilege editors. Restrict who can edit pages containing Gallery blocks, and rotate sessions for users who may have viewed a compromised lightbox.

Affected
Concrete CMS9.5.2 and below
Estimated exposure
moderatetens of thousands of sites (order of magnitude 10,000-100,000, clearly an estimate) — Concrete CMS powers a small fraction of public websites (on the order of 10^4-10^5 live installs per public web-technology surveys), further narrowed to sites running affected versions that actually use the Gallery block with captions.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Concrete CMS 9.5.2 and below is vulnerable to stored DOM-based Cross-site Scripting (XSS) via the Gallery block's per-image Caption field because the bundled Magnific Popup lightbox script (concrete/js/features/imagery/frontend.js) re-parses the attribute-decoded caption as HTML through jQuery's .append() in titleSrc instead of inserting it as text. A user with permission to edit a page containing a Gallery block can store a caption that executes in the browser of any visitor who opens that image's lightbox. The Concrete CMS security team gave this vulnerability a CVSS v.4.0 score of 8.5 with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N. Thanks Yonatan Drori (Tenzai) for reporting.

Weakness
CWE-89
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.