Read the docs

Code injection in dayrui XunRuiCMS Mobile Site Directory

Priority HIGH 70CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.

Summary

XunRuiCMS versions 4.7.0, 4.7.1, 4.7.2, 4.7.3 and 4.7.4 by dayrui contain a code injection flaw in the Mobile Site Directory component. Manipulating the dirname argument of the str_replace call in /var/www/html/zzmob/index.php injects code (CWE-94). A remote attacker can exploit this without privileges or user interaction. A public exploit has been released and is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-05

Description from the CNA

A security flaw has been discovered in dayrui XunRuiCMS up to 4.7.4. Affected by this issue is the function str_replace of the file /var/www/html/zzmob/index.php of the component Mobile Site Directory. The manipulation of the argument dirname results in code injection. The attack can be launched remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00304 23rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dayruiXunRuiCMS4.7.0; 4.7.1; 4.7.2; 4.7.3; 4.7.4—No fix listedCNA
  • XunRuiCMS Vendordayrui Affected 4.7.0; 4.7.1; 4.7.2; 4.7.3; 4.7.4 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:xunruicms:xunruicms:*:*:*:*:*:*:*:*——dayrui
  • cpe:2.3:a:xunruicms:xunruicms:*:*:*:*:*:*:*:* Versions — — ·dayrui

Remediation

The sources list no fixed version for XunRuiCMS.

Written with Claude Haiku 5.5 from the sources below · 2026-11-05

Timeline

  1. 2026-11-02 Threatist record created from CVE-2026-120349
  2. 2026-11-02 Alias added: GHSA-5r35-w63q-rcr8
  3. 2026-11-02 CISA SSVC decision points changed
  4. 2026-11-02 Priority changed: MEDIUM → HIGH

References

  • TI-2026-83754 Code injection in dayrui XunRuiCMS email template rendering CVSS 4.0MEDIUM 6.9
  • TI-2026-83753 SQL injection in dayrui XunRuiCMS Member Module View function CVSS 4.0MEDIUM 6.9
  • TI-2022-12358 XunRuiCMS v4.3.3 to v4.5.1 vulnerable to PHP file write and CMS PHP file inclusion… CVSS 3.1HIGH 7.2
  • TI-2025-37672 A stored Cross-Site Scripting (XSS) vulnerability has been discovered in XunRuiCMS… CVSS 3.1MEDIUM 6.1
  • TI-2025-19199 Cross Site Scripting vulnerabilities in Xunruicms v.4.6.3 and before allows a remote… CVSS 3.1MEDIUM 6.1
  • TI-2025-12797 dayrui XunRuiCMS Add Data Validation admind45f74adbd95.php cross site scripting CVSS 4.0MEDIUM 5.1
See all 26 →

Sources