CVE-2026-120348
Received Received - Intake

Code Injection in XunRuiCMS Email Template

Vulnerability report for CVE-2026-120348, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-02

Last updated on: 2026-11-02

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-02
Last Modified
2026-11-02
Generated
2026-11-02
AI Q&A
2026-11-02
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 5 associated CPEs

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-120348 is a code injection vulnerability in XunRuiCMS versions up to 4.7.4. It allows remote attackers to execute arbitrary PHP code by manipulating the site name in email templates. The flaw occurs in the _get_tpl_content function of Notice.php, where user-controlled input is directly substituted into template source code before compilation.

Detection Guidance

Check for suspicious PHP files in your web root, particularly files like /zz_shell.php. Inspect the site name configuration in the admin backend for encoded or unusual characters. Review cron tasks or scheduled jobs for unauthorized entries like index.php?s=api&c=run&m=index with SYS_CRON_AUTH=0.

Impact Analysis

This vulnerability allows unauthenticated attackers to remotely execute arbitrary commands on the server running XunRuiCMS. Successful exploitation could lead to complete system compromise, data theft, or installation of persistent backdoors. Attackers can gain control over the web server user account and potentially escalate privileges.

Compliance Impact

This vulnerability could lead to unauthorized access and data breaches, violating GDPR's data protection requirements and HIPAA's security rules. Organizations may face regulatory fines, legal liabilities, and reputational damage if this vulnerability is exploited to access or leak sensitive data.

Mitigation Strategies

Disable anonymous task runner access by setting SYS_CRON_AUTH to a secret value. Restrict write permissions on site configuration files. Avoid direct substitution of user-controlled data into templates. Escape template control characters and disable unsafe eval-like compilation of user content.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-120348. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...