Code injection in dayrui XunRuiCMS Mobile Site Directory
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
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
Remediation
The sources list no fixed version for XunRuiCMS.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Timeline
- 2026-11-02 Threatist record created from CVE-2026-120349
- 2026-11-02 Alias added: GHSA-5r35-w63q-rcr8
- 2026-11-02 CISA SSVC decision points changed
- 2026-11-02 Priority changed: MEDIUM → HIGH
More dayrui vulnerabilities
- 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
Sources
- CVE-2026-120349 · CVE Program
- CVE-2026-120349 · NVD
- FIRST EPSS
- GHSA-5r35-w63q-rcr8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences