Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious search query or stored payload
-
DeliveryDeliver search-results URL to victim
-
Exploitmark() renders search term/content unescaped
-
ExecutionScript executes in victim browser
-
ImpactSession/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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (jpcert).
CVSS VectorVendor: jpcert
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Authenticated baserCMS administrators on 5.2.3 up to (but not including) 5.3.0 can escape the theme directory through th
In baserCMS before 4.1.4, lib\Baser\Model\ThemeConfig.php allows remote attackers to execute arbitrary PHP code via the
Authorization bypass in baserCMS before 5.3.0 lets an authenticated operator account read administrator-restricted confi
SQL injection vulnerability in the baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows remote attackers to execute arb
baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita
baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita
baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
OS command injection in baserCMS installer prior to version 5.2.3 allows remote attackers to execute arbitrary system co
OS command injection in baserCMS update functionality allows authenticated administrators to execute arbitrary commands
OS command injection in baserCMS core update functionality allows authenticated administrators to execute arbitrary syst
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
EUVD-2026-138039
GHSA-75pc-7j6x-3rg5
NVD
CVE.org
EPSS
Exploit-DB