CVE-2025-8313: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in emarket-design Campus Directory – Faculty, Staff & Student Directory Plugin for WordPress
The Campus Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘noaccess_msg’ parameter in all versions up to, and including, 1.9.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-8313 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Campus Directory – Faculty, Staff & Student Directory plugin for WordPress, developed by emarket-design. This vulnerability exists in all versions up to and including 1.9.1. The root cause is insufficient sanitization and escaping of the 'noaccess_msg' parameter, which is used during web page generation. Authenticated users with Contributor-level privileges or higher can exploit this flaw by injecting arbitrary JavaScript code into the parameter. Because the injected script is stored and rendered on pages viewed by other users, it executes in their browsers without requiring further interaction. This can lead to a range of malicious outcomes, including session hijacking, theft of sensitive information, unauthorized actions performed on behalf of users, or site defacement. The vulnerability has a CVSS v3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges, no user interaction, and a scope change. No public exploits have been reported yet. The vulnerability affects WordPress sites using this plugin, which is commonly deployed in educational institutions to manage faculty, staff, and student directories. The plugin's widespread use in academic environments increases the potential impact. The vulnerability was published on August 5, 2025, and was reserved on July 29, 2025. No official patches or updates are currently linked, emphasizing the need for immediate mitigation steps by administrators.
Potential Impact
The primary impact of CVE-2025-8313 is the compromise of user confidentiality and integrity within affected WordPress sites. Exploitation allows attackers with Contributor-level access to inject persistent malicious scripts that execute in the browsers of other users, potentially leading to session hijacking, credential theft, or unauthorized actions performed with victim privileges. This can undermine trust in the affected websites, lead to data breaches, and facilitate further attacks such as privilege escalation or malware distribution. Since the vulnerability does not impact availability directly, denial-of-service is less likely. However, reputational damage and regulatory consequences could be significant, especially for educational institutions handling sensitive personal data. The requirement for authenticated access limits the attack surface but does not eliminate risk, as Contributor roles are commonly assigned to users who submit content. The scope change in the CVSS vector indicates that the vulnerability affects resources beyond the attacker’s privileges, increasing its severity. Organizations worldwide using this plugin in their WordPress deployments, particularly in education sectors, face moderate risk until remediation is applied.
Mitigation Recommendations
1. Immediately restrict Contributor-level access to trusted users only, minimizing the number of accounts that can exploit this vulnerability. 2. Implement additional input validation and output encoding for the 'noaccess_msg' parameter at the application or web server level using Web Application Firewalls (WAFs) with custom rules to detect and block malicious scripts. 3. Monitor logs for unusual Contributor activity or unexpected script injections in directory pages. 4. Disable or remove the Campus Directory plugin if it is not essential to reduce attack surface. 5. Regularly update WordPress core and plugins; monitor emarket-design’s official channels for patches or security updates addressing this vulnerability. 6. Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in browsers. 7. Educate site administrators and users about the risks of XSS and safe content submission practices. 8. Conduct security audits and penetration testing focusing on input sanitization and stored XSS vectors in custom or third-party plugins.
Affected Countries
United States, United Kingdom, Canada, Australia, Germany, France, India, Brazil, Japan, South Korea
CVE-2025-8313: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in emarket-design Campus Directory – Faculty, Staff & Student Directory Plugin for WordPress
Description
The Campus Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘noaccess_msg’ parameter in all versions up to, and including, 1.9.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-8313 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Campus Directory – Faculty, Staff & Student Directory plugin for WordPress, developed by emarket-design. This vulnerability exists in all versions up to and including 1.9.1. The root cause is insufficient sanitization and escaping of the 'noaccess_msg' parameter, which is used during web page generation. Authenticated users with Contributor-level privileges or higher can exploit this flaw by injecting arbitrary JavaScript code into the parameter. Because the injected script is stored and rendered on pages viewed by other users, it executes in their browsers without requiring further interaction. This can lead to a range of malicious outcomes, including session hijacking, theft of sensitive information, unauthorized actions performed on behalf of users, or site defacement. The vulnerability has a CVSS v3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges, no user interaction, and a scope change. No public exploits have been reported yet. The vulnerability affects WordPress sites using this plugin, which is commonly deployed in educational institutions to manage faculty, staff, and student directories. The plugin's widespread use in academic environments increases the potential impact. The vulnerability was published on August 5, 2025, and was reserved on July 29, 2025. No official patches or updates are currently linked, emphasizing the need for immediate mitigation steps by administrators.
Potential Impact
The primary impact of CVE-2025-8313 is the compromise of user confidentiality and integrity within affected WordPress sites. Exploitation allows attackers with Contributor-level access to inject persistent malicious scripts that execute in the browsers of other users, potentially leading to session hijacking, credential theft, or unauthorized actions performed with victim privileges. This can undermine trust in the affected websites, lead to data breaches, and facilitate further attacks such as privilege escalation or malware distribution. Since the vulnerability does not impact availability directly, denial-of-service is less likely. However, reputational damage and regulatory consequences could be significant, especially for educational institutions handling sensitive personal data. The requirement for authenticated access limits the attack surface but does not eliminate risk, as Contributor roles are commonly assigned to users who submit content. The scope change in the CVSS vector indicates that the vulnerability affects resources beyond the attacker’s privileges, increasing its severity. Organizations worldwide using this plugin in their WordPress deployments, particularly in education sectors, face moderate risk until remediation is applied.
Mitigation Recommendations
1. Immediately restrict Contributor-level access to trusted users only, minimizing the number of accounts that can exploit this vulnerability. 2. Implement additional input validation and output encoding for the 'noaccess_msg' parameter at the application or web server level using Web Application Firewalls (WAFs) with custom rules to detect and block malicious scripts. 3. Monitor logs for unusual Contributor activity or unexpected script injections in directory pages. 4. Disable or remove the Campus Directory plugin if it is not essential to reduce attack surface. 5. Regularly update WordPress core and plugins; monitor emarket-design’s official channels for patches or security updates addressing this vulnerability. 6. Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in browsers. 7. Educate site administrators and users about the risks of XSS and safe content submission practices. 8. Conduct security audits and penetration testing focusing on input sanitization and stored XSS vectors in custom or third-party plugins.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-07-29T20:14:47.379Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6891ac91ad5a09ad00e6f49e
Added to database: 8/5/2025, 7:02:41 AM
Last enriched: 2/26/2026, 5:00:01 PM
Last updated: 3/26/2026, 8:19:58 AM
Views: 121
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.