Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain privileged admin access to mail settings
-
DeliveryStore malicious redirect_url in mail form config
-
ExploitVictim submits the mail form
-
ExecutionUnescaped value rendered in redirect page
-
ImpactScript executes in victim's browser
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 | Exploitation requires an attacker to control the mail form's redirect_url value, which is a privileged mail-content configuration setting (consistent with CVSS PR:H) - so a malicious or compromised privileged/admin account, or another flaw that lets an attacker influence that setting, is a prerequisite. The payload only fires when a victim with user interaction (CVSS UI:R) accesses and submits the affected BcMail mail form and is served the post-submission redirection page (plugins/bc-front/templates/plugin/BcMail/Mail/default/submit.php), where redirect_url was emitted unescaped into both a meta-refresh 'content' attribute and an anchor href. Limiting factors: the high-privilege requirement to inject the payload and the need for a victim to actually submit the form substantially narrow real-world exploitability. |
| Impact | This is a moderate-severity stored cross-site scripting flaw (CWE-79) with a CVSS 3.0 base score of 4.8. The vector (AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N) is internally consistent with the source evidence: PR:H reflects that the malicious payload enters through the mail content's redirect_url, a setting managed from the privileged admin side, while UI:R reflects that a victim must actually visit and submit the affected mail form. The scope change (S:C) and low confidentiality/integrity impact (C:L/I:L, A:N) are typical of XSS that executes in a victim's browser session rather than compromising the server. No EPSS score, SSVC automatable/technical-impact values, or CISA KEV entry were supplied, and there is no indication of active exploitation. The vuln.today decision label is 'this_month' (not act_now or emergency), which aligns with the picture of a privilege-gated, interaction-dependent XSS rather than a widely scanned, trivially exploitable bug. The dominant risk reducer is the PR:H requirement - an attacker generally needs the ability to set the mail form's redirect_url - so realistic risk concentrates on scenarios involving a malicious or compromised privileged account, or a secondary flaw that lets a lower-privileged actor influence that value. Net: a real but not urgent issue; prioritize patching on a normal cycle rather than as an emergency. |
| Exploit ScenarioDerived | A user with administrative/privileged access to baserCMS stores a crafted redirect_url containing a JavaScript payload (e.g., a value breaking out of the href/meta-refresh context) in a mail form's configuration. When an ordinary site visitor submits that mail form and is served the redirection page, the unescaped redirect_url is rendered into the page and the script executes in the visitor's browser. No public exploit code was identified at time of analysis; only the vendor's fixing commit and the JVN advisory are referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Stored cross-site scripting in baserCMS affects the BcMail mail-form redirection flow: the configured redirect_url is written unescaped into a meta-refresh content attribute and into a click-through anchor on the post-submission page, so script markup in that value executes in the browser of a user who submits the form. Exploitation requires a high-privileged account able to edit mail-content settings (CVSS PR:H) plus a victim who actually submits the form and is served the confirmation page (UI:R), which substantially narrows real-world exposure. No public exploit code has been identified at time of analysis and there is no KEV listing; the upstream project has published a fix commit that escapes the value and tightens the redirect_url and template-name validation.
RemediationAI
Vendor-released patch: apply the upstream fix commit 90703a3e7ffe0f4b01f663d6f89a6dfa080db713, or upgrade to a baserCMS release that contains it, following the JVN advisory at https://jvn.jp/en/jp/JVN25972114/. The fix must cover both the template output (h() escaping of redirect_url in the meta-refresh content and the anchor href in plugins/bc-front/templates/plugin/BcMail/Mail/default/submit.php) and the model validation (MailContentsTable::validationDefault, where redirect_url is restricted to http(s) URLs or site-relative paths without whitespace, quotes, angle brackets or backslashes, and form_template/mail_template are limited to alphanumerics, underscore and hyphen). Released patched version not independently confirmed, so verify the applied commit or changelog entry. Where upgrading cannot be done immediately, restrict mail-content editing rights to fully trusted administrators (the payload must be injected through a privileged configuration setting) and audit existing BcMail configurations for redirect_url values containing quotes, angle brackets, spaces or script markup, resetting them to plain URLs or relative paths such as /thanks/. Note that these are compensating measures only; they do not repair the missing output escaping, and any privileged account that can still write the field retains the ability to inject markup.
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/CakePHP-based content management system, and the flaw lives in the BcMail plugin's mail-form feature (CWE-79, cross-site scripting). The affected view template plugins/bc-front/templates/plugin/BcMail/Mail/default/submit.php passed $mailContent->redirect_url directly into BcBaser->meta(['http-equiv' => 'Refresh'], ... 'content' => '5;url=' . $mailContent->redirect_url) and into an anchor href without output escaping, so a value containing quotes or angle brackets breaks out of the attribute context. The root cause is compounded by weak input validation in MailContentsTable::validationDefault, where redirect_url was only checked with '/^http|^\/.*/', a pattern that anchors on a prefix and therefore accepts trailing quotes, spaces and tag characters. The upstream commit 90703a3e7ffe0f4b01f663d6f89a6dfa080db713 fixes both layers: it wraps the redirect value in h() at both output sinks and replaces the prefix-only pattern with '/^(https?:\/\/[^\s"\'<>\\\\]+|\/[^\s"\'<>\\\\]*)$/i', while also adding regex constraints on form_template and mail_template (restricting them to alphanumerics, underscore and hyphen) because those names are concatenated into filesystem template paths. The supplied regression test asserts that '/thanks/" onmouseover="alert(1)' and '../..' style values are now rejected, confirming the attribute-injection vector described above.
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:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Payload is injected via the privileged mail-content redirect_url setting (PR:H) and fires only when a victim submits the form (UI:R); cross-user script execution gives S:C with low C/I and no availability impact.
Primary rating from Vendor (jpcert).
CVSS VectorVendor: jpcert
DescriptionCVE.org
baserCMS contains a cross-site scripting vulnerability in the redirection process after mail form submission, 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-138040
GHSA-h9j5-qv9w-2rwv
NVD
CVE.org
EPSS
Exploit-DB