Skip to content

【JVN#26271410】Stored XSS via custom content description

Moderate
ryuring published GHSA-m854-6p5c-8g3j Sep 26, 2026

Software

baserCMS

Affected versions

<= 5.4.0

Patched versions

5.3.1, 5.4.1

Description

Summary

Stored cross-site scripting (XSS) is possible through the custom content description. A user with permission to configure custom content can store a script that executes in the browser of a visitor who views the custom content list page.

Details

The custom content description (CustomContents.description) is allowed to contain HTML, but there was no validation to reject scripts at save time, and the output side (CustomContentHelper::description()) echoes the value without escaping.

Impact

Stored XSS affecting visitors of the custom content pages.

Patch

Introduce validationDefault on CustomContentsTable with a containsScript rule for description, and make validationWithTable inherit it so both the create (default) and update (withTable) paths are covered.

Reported via

JVN#26271410 (JPCERT/CC), reported by Gai Tanaka (Mitsui Bussan Secure Directions, Inc.).

Severity

Moderate

CVE ID

CVE-2026-93464

Weaknesses

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Learn more on MITRE.