CVE-2026-120348

dayrui XunRuiCMS Email Template Rendering Notice.php _get_tpl_content code injection

Published Nov 2, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A vulnerability in dayrui XunRuiCMS up to version 4.7.4 allows attackers to inject arbitrary code into email templates through the _get_tpl_content function. The flaw is triggered by manipulating template data, enabling code execution when the rendered email is processed. This results in a remote code execution impact, potentially giving attackers full control over the affected system.

Affected Systems

The flaw affects dayrui XunRuiCMS, specifically versions up to 4.7.4, including the Notice.php component’s Email Template Rendering. No version information beyond 4.7.4 is provided, so higher releases may be unaffected but should be verified. The vulnerability is not mitigated by any known patch in the current product release.

Risk and Exploitability

The CVSS score of 6.9 classifies the issue as medium severity. The EPSS score is unavailable, but the vulnerability has publicly documented exploits that could be used by attackers. The flaw can be triggered remotely and does not require authentication, increasing the likelihood of exploitation. It is not listed in the CISA KEV catalog, but the availability of public proof-of-concept code signifies a realistic threat.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade XunRuiCMS to the latest version (4.7.5 or newer) where the _get_tpl_content vulnerability has been fixed.
  • If an upgrade is not immediately possible, limit remote access to the Email Template configuration to trusted administrators and enforce strict input validation to prevent template source manipulation.
  • Deploy a web application firewall or equivalent security layer to detect and block attempts to inject malicious code into email templates.

Generated by OpenCVE AI on November 2, 2026 at 07:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dayrui
Dayrui xunruicms
Vendors & Products Dayrui
Dayrui xunruicms
Type Values Removed Values Added
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.
Title dayrui XunRuiCMS Email Template Rendering Notice.php _get_tpl_content code injection
First Time appeared Xunruicms
Xunruicms xunruicms
Weaknesses CWE-74
CWE-94
CPEs cpe:2.3:a:xunruicms:xunruicms:*:*:*:*:*:*:*:*
Vendors & Products Xunruicms
Xunruicms xunruicms
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 2, 2026, 5:36 PM
Reserved
Nov 1, 2026, 3:51 PM
Status
Deferred
Published
Nov 2, 2026, 6:17 AM
Modified
Nov 2, 2026, 6:18 PM