CVE-2026-120348 Details
Description
A vulnerability was identified in dayrui XunRuiCMS up to 4.7.4. Affected by this vulnerability is the function _get_tpl_content of the file dayrui/Fcms/Library/Notice.php of the component Email Template Rendering. The manipulation leads to code injection. The attack can be initiated remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.
A code injection vulnerability has been identified in Dayrui XunRuiCMS versions through 4.7.4. The issue arises in the Email Template Rendering component, specifically within the function '_get_tpl_content' in 'dayrui/Fcms/Library/Notice.php'. This vulnerability allows for remote code execution by injecting malicious code into the site name, which is then executed when the notification template is processed. The vendor was notified about this vulnerability but did not respond.
To address this vulnerability, do not allow business data to be directly inserted into template source code. Instead, compile templates first and then safely substitute values. Additionally, restrict permissions for writing site configuration to a specific role and require authentication for task execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 2, 2026CISA-ADP
Assessed Nov 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tiranbge/disclosure-xunruicms-4.7.2/blob/master/reports/1.md | [email protected] | ExploitRemedyTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-120348 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1016298 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/429672 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/429672/cti | [email protected] | AdvisoryContent Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dayrui XunRuiCMS | <= 4.7.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 2, 2026 | CVE Modified | CISA-ADP |
| Nov 2, 2026 | New CVE Received | [email protected] |
Volerion