Skip to main content

baserCMS CVE-2026-120962

| EUVDEUVD-2026-138039 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-30 jpcert GHSA-75pc-7j6x-3rg5
5.1
CVSS 4.0 · Vendor: jpcert
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious search query or stored payload
  2. Delivery
    Deliver search-results URL to victim
  3. Exploit
    mark() renders search term/content unescaped
  4. Execution
    Script executes in victim browser
  5. Impact
    Session/DOM actions in user context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two concrete paths from the fix commit: (1) Reflected - an attacker supplies a crafted search term ($search, viewer-controlled input) that the BcBaserHelper::mark() helper previously emitted without escaping on the BcSearchIndex search results template, so a victim must open the attacker-supplied search URL (UI:R). (2) Stored - a user with content-editing privileges injects script into a content title or body ($text, editor input) that is later highlighted unescaped in search results. Limiting factors: exploitation requires the victim to access a search-results page (user interaction); the stored path additionally requires content-authoring privileges; impact is confined to the victim's browser context (no server-side code execution or availability impact). Remediation is the vendor update that makes mark() escape text and search terms by default.

Impact

This is a moderate-severity, stored-and-reflected cross-site scripting flaw in baserCMS site search results (CWE-79), rated CVSS 5.4 with vector CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - network-reachable, low complexity, requiring low privileges, user interaction, with a scope change and limited confidentiality/integrity impact. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a meaningful but non-critical priority. There is no CISA KEV listing and no EPSS score supplied, so there is no signal of active or widespread exploitation; the status is best described as no public exploit identified at time of analysis. The GitHub reference is the vendor fix commit, not a proof-of-concept, so it should not be read as exploit availability. One notable tension: NVD assigns PR:L, but the fix commit shows two distinct paths - the search term ($search) is viewer-supplied (a reflected, effectively unauthenticated path), while the content title/body ($text) is editor-supplied (a stored path needing content-editing privileges); the PR:L rating best fits the stored path and understates the reflected path. Overall this is a legitimate hygiene-grade issue to patch on a normal cycle rather than an emergency, with impact bounded to script execution in a victim's browser session rather than server compromise.

Exploit ScenarioDerived

An attacker crafts a baserCMS search URL whose query parameter contains a malicious payload (e.g. an HTML/JS string); when a victim opens that search-results page, the unescaped search term is rendered and the script executes in the victim's browser (reflected XSS). Alternatively, a low-privileged content editor stores a payload in a page title or body, which then executes for any visitor whose search results surface that content (stored XSS). No public proof-of-concept or exploit code is referenced; only the vendor fix commit is available.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Cross-site scripting in baserCMS site search results lets an attacker get script executed in a victim's browser: the BcBaserHelper::mark() helper emitted both content titles/bodies and the visitor-supplied search term without escaping when rendering highlighted search hits. Two paths follow from the fix commit - a reflected one where a crafted search URL is opened by the victim, and a stored one where an editor injects markup into a content title or body that is later highlighted in search results. Exploitation requires the victim to open a search-results page (user interaction), impact is confined to the victim's browser context, no public exploit was identified at time of analysis, and the issue is not listed in CISA KEV; the vendor rates it CVSS 5.4 (PR:L) while the independent assessment raises the vector to PR:N because the reflected path needs no privileges.

RemediationAI

Upstream fix available (commit 79eba73803e322e01ae66d5b7f6d92fec02eccc3); a released patched version number is not independently confirmed in the supplied data, so confirm the fixed release with the vendor advisory at https://jvn.jp/en/jp/JVN25972114/ and update baserCMS, including both the baser-core and bc-front plugins, to that build. The fix makes BcBaserHelper::mark() escape the highlighted text and the search term by default, HTML-encodes matches before wrapping them in <strong>, ignores empty needles, and changes the search template's link flag from 'escape' => false to 'escapeTitle' => false so generated markup renders while data stays encoded. If an immediate update is not possible, the actionable interim step is to review custom front-end templates that call $this->BcBaser->mark() and stop passing escape-disabled options into mark() or into the surrounding link() call - with the trade-off that highlighting and any intentional markup in result titles will render differently - and note that this only covers templates you control, since the vulnerable helper default itself must be patched to fix the stored path affecting editor-authored content. No server-side code execution or availability impact is involved, so the urgency driver is browser-side session risk for visitors and administrators viewing search results; the vendor update is the complete fix.

Affected VersionsENISA

basercms 0 ≤5.4.1

Affected Packages

euvd basercms no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

baserCMS is a PHP content management system built on CakePHP, and the flaw sits in a view-layer helper rather than in a controller or data store. BcBaserHelper::mark() in plugins/baser-core/src/View/Helper/BcBaserHelper.php builds search-term highlighting by running str_replace() over the supplied text and wrapping each match in a <strong> tag via BcHtml->tag(); before the fix it defaulted to $escape = false and explicitly passed 'escape' => false, so neither $text (the indexed content title/body, editor-controlled) nor $search (the visitor's query string) was HTML-encoded, and the bc-front search template plugins/bc-front/templates/plugin/BcSearchIndex/SearchIndexes/search.php additionally rendered the result link with ['escape' => false]. That is a classic CWE-79 output-encoding failure: the same helper is reachable from two input directions, which is why the fix commit 'hardens' it by defaulting $escape to true, applying h() to both the text and the needle, skipping empty needles, and switching the template link to 'escapeTitle' => false so the generated <strong> markup survives while the surrounding data is encoded. Per the vendor vector (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) the stored path requires content-authoring privileges; the independent assessment scores the reflected path as PR:N. The precise trigger for each deployment mode is confirmed only to the extent that the patch diff shows both the reflected query and stored content being highlighted unescaped - no further mechanism is described in the available sources.

Know when Basercms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (jpcert) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

The headline reflected path uses a viewer-supplied search term requiring no authentication (PR:N, diverging from NVD's PR:L, which fits the stored path); UI:R for visiting the results page and S:C for browser-context execution.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (jpcert).

CVSS VectorVendor: jpcert

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Nov 30, 2026 - 08:22 NVD
5.4 (MEDIUM) 5.1 (MEDIUM)

DescriptionCVE.org

baserCMS contains a cross-site scripting vulnerability in site search results, which may allow an attacker to execute arbitrary scripts in the web browser of a user who accesses a website using the affected product.

Threat Intelligence Overview

EPSS Score
0.4%
Top 79% exploitable
Prevalence
Low
baserCMS is a niche open-source CMS, used mainly in Japan
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-62955 HIGH POC
7.2 Nov 19

Authenticated baserCMS administrators on 5.2.3 up to (but not including) 5.3.0 can escape the theme directory through th

CVE-2018-18942 HIGH POC
7.2 Nov 05

In baserCMS before 4.1.4, lib\Baser\Model\ThemeConfig.php allows remote attackers to execute arbitrary PHP code via the

CVE-2026-63012 MEDIUM POC
6.5 Nov 19

Authorization bypass in baserCMS before 5.3.0 lets an authenticated operator account read administrator-restricted confi

CVE-2017-10842 CRITICAL
9.8 Aug 29

SQL injection vulnerability in the baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows remote attackers to execute arb

CVE-2023-43792 CRITICAL
9.8 Oct 30

baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita

CVE-2023-43649 CRITICAL
9.8 Oct 30

baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita

CVE-2023-25655 CRITICAL
9.8 Mar 23

baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2023-25654 CRITICAL
9.8 Mar 23

baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2026-30880 CRITICAL
9.2 Mar 31

OS command injection in baserCMS installer prior to version 5.2.3 allows remote attackers to execute arbitrary system co

CVE-2026-30877 CRITICAL
9.1 Mar 31

OS command injection in baserCMS update functionality allows authenticated administrators to execute arbitrary commands

CVE-2026-21861 CRITICAL
9.1 Mar 31

OS command injection in baserCMS core update functionality allows authenticated administrators to execute arbitrary syst

CVE-2026-114621 HIGH
8.8 Oct 23

SQL injection in baserCMS 5.0.0 through 5.3.1 and 5.4.0 through 5.4.1 allows a user who can log into the admin panel to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy