CVE-2026-2214

2.4 LOW

📋 TL;DR

This CVE describes a cross-site scripting (XSS) vulnerability in Plugin 1.0 for code-projects, specifically in the AdminAddAlbum.php file. Attackers can inject malicious scripts via the txtalbum parameter, potentially compromising administrator sessions or stealing credentials. Organizations using this vulnerable plugin are affected.

💻 Affected Systems

Products:
  • code-projects Plugin 1.0
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with the vulnerable plugin installed and accessible via web interface.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator session cookies, gain administrative access to the system, deface websites, or redirect users to malicious sites.

🟠

Likely Case

Session hijacking of administrator accounts, credential theft, or defacement of administrative interfaces.

🟢

If Mitigated

Limited impact if proper input validation and output encoding are implemented, with minimal risk to non-administrative users.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit requires access to administrative interface; public exploit details available in references.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://code-projects.org/

Restart Required: No

Instructions:

1. Check vendor website for updates. 2. Apply any available patches. 3. Test functionality after patching.

🔧 Temporary Workarounds

Input Validation Filter

all

Implement server-side input validation to sanitize txtalbum parameter

Modify AdminAddAlbum.php to add: $txtalbum = htmlspecialchars($_POST['txtalbum'], ENT_QUOTES, 'UTF-8');

WAF Rule

all

Deploy web application firewall rules to block XSS payloads

Add WAF rule: Detect and block scripts in txtalbum parameter

🧯 If You Can't Patch

  • Disable or remove the vulnerable plugin entirely
  • Restrict access to /Administrator/PHP/AdminAddAlbum.php via network ACLs or authentication

🔍 How to Verify

Check if Vulnerable:

Check if Plugin 1.0 is installed and review AdminAddAlbum.php for lack of input sanitization

Check Version:

Check plugin configuration files or vendor documentation for version information

Verify Fix Applied:

Test txtalbum parameter with XSS payloads like <script>alert('test')</script> and verify it's properly sanitized

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to AdminAddAlbum.php with script tags in parameters
  • Administrator session anomalies

Network Indicators:

  • HTTP requests containing <script> tags in txtalbum parameter

SIEM Query:

source="web_logs" AND uri="/Administrator/PHP/AdminAddAlbum.php" AND (param="txtalbum" AND value CONTAINS "<script>")

🔗 References

📤 Share & Export