Skip to main content

baserCMS EUVDEUVD-2026-138040

| CVE-2026-134903 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-30 jpcert GHSA-h9j5-qv9w-2rwv
4.8
CVSS 4.0 · Vendor: jpcert
View

Attack ChainAIDerived

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

  1. Access
    Obtain privileged admin access to mail settings
  2. Delivery
    Store malicious redirect_url in mail form config
  3. Exploit
    Victim submits the mail form
  4. Execution
    Unescaped value rendered in redirect page
  5. Impact
    Script 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.

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

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

Alert me

AnalysisAIv1 – 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

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/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

Vendor (jpcert) PRIMARY 4.8 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/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
High
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

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

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
baserCMS is a niche Japanese open-source CMS, limited enterprise footprint
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.3%
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

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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