CVE-2025-15372

2.4 LOW

📋 TL;DR

This vulnerability allows remote attackers to inject malicious scripts into the Notice Handler component of youlaitech vue3-element-admin, leading to cross-site scripting (XSS) attacks. It affects all users of vue3-element-admin up to version 3.4.0. The attack can be executed remotely without authentication.

💻 Affected Systems

Products:
  • youlaitech vue3-element-admin
Versions: up to 3.4.0
Operating Systems: Any
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the Notice Handler component specifically in src/views/system/notice/index.vue

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal session cookies, perform actions as authenticated users, or redirect users to malicious sites, potentially leading to account compromise or data theft.

🟠

Likely Case

Attackers inject malicious scripts that execute in users' browsers, potentially stealing session tokens or displaying fraudulent content.

🟢

If Mitigated

With proper input validation and output encoding, the impact is limited to script execution within the Notice Handler context only.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Proof of concept is publicly available in GitHub repositories. Remote exploitation is possible without authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Vendor did not respond to disclosure. Consider upgrading to any version above 3.4.0 if available, or implement workarounds.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation and output encoding for the Notice Handler component to prevent script injection.

Modify src/views/system/notice/index.vue to sanitize user inputs using Vue.js built-in escaping or libraries like DOMPurify

Content Security Policy (CSP)

all

Implement a strict Content Security Policy to prevent execution of inline scripts and unauthorized external scripts.

Add Content-Security-Policy header: script-src 'self'

🧯 If You Can't Patch

  • Disable or restrict access to the Notice Handler component if not essential
  • Implement web application firewall (WAF) rules to block XSS payloads

🔍 How to Verify

Check if Vulnerable:

Check if using vue3-element-admin version 3.4.0 or earlier and examine src/views/system/notice/index.vue for lack of input sanitization

Check Version:

Check package.json for version number or run: npm list vue3-element-admin

Verify Fix Applied:

Test Notice Handler with XSS payloads to ensure scripts are not executed

📡 Detection & Monitoring

Log Indicators:

  • Unusual script tags or JavaScript in notice-related requests
  • Multiple failed XSS attempts

Network Indicators:

  • HTTP requests containing script tags or JavaScript in notice parameters

SIEM Query:

source="web_logs" AND (uri="*notice*" AND (content="<script>" OR content="javascript:"))

🔗 References

📤 Share & Export