CVE-2025-48314: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in salubrio Add Code To Head
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in salubrio Add Code To Head allows Stored XSS. This issue affects Add Code To Head: from n/a through 1.17.
AI Analysis
Technical Summary
CVE-2025-48314 is a medium severity vulnerability classified under CWE-79, which corresponds to Improper Neutralization of Input During Web Page Generation, commonly known as Cross-site Scripting (XSS). This vulnerability affects the 'Add Code To Head' plugin developed by salubrio, specifically versions up to 1.17. The flaw allows an attacker to inject malicious scripts that are stored persistently within the application. When a legitimate user accesses the affected web page, the malicious script executes in their browser context. The CVSS 3.1 base score is 5.9, indicating a medium level of severity. The vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L) reveals that the attack can be performed remotely over the network (AV:N) with low attack complexity (AC:L), but requires high privileges (PR:H) and user interaction (UI:R). The scope is changed (S:C), meaning the vulnerability affects resources beyond the initially vulnerable component. The impact affects confidentiality, integrity, and availability at a low level. The vulnerability arises from insufficient input sanitization when generating web pages, allowing malicious payloads to be stored and later executed in users' browsers. Although no known exploits are currently reported in the wild, the presence of stored XSS can lead to session hijacking, defacement, or redirection to malicious sites if exploited. The lack of available patches at the time of this report suggests that users should prioritize mitigation and monitoring until an official fix is released.
Potential Impact
For European organizations using the 'Add Code To Head' plugin by salubrio, this vulnerability poses a risk primarily to web applications that incorporate this plugin to inject code into the head section of web pages. Exploitation could lead to unauthorized script execution in the context of authenticated users, potentially compromising user sessions, leaking sensitive information, or enabling further attacks such as privilege escalation or malware delivery. Given the requirement for high privileges to exploit, internal users or attackers who have gained elevated access could leverage this vulnerability to expand their foothold. The impact on confidentiality, integrity, and availability is low to moderate but can be significant depending on the nature of the data handled by the affected web applications. European organizations in sectors with high web presence—such as e-commerce, government portals, and financial services—may face reputational damage and regulatory scrutiny under GDPR if user data is compromised. Additionally, the cross-site scripting vulnerability could be used as a vector for phishing or social engineering attacks targeting European users.
Mitigation Recommendations
1. Immediate mitigation should include auditing and restricting access to the 'Add Code To Head' plugin to minimize the number of users with high privileges who can inject code. 2. Implement strict input validation and output encoding on all user-supplied data that is rendered in the head section of web pages to prevent malicious script injection. 3. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers, limiting the impact of potential XSS payloads. 4. Monitor web application logs and user activity for unusual behavior indicative of exploitation attempts. 5. Until an official patch is released, consider disabling or removing the vulnerable plugin if feasible, or isolate affected systems from critical networks. 6. Educate privileged users about the risks of injecting untrusted code and enforce the principle of least privilege. 7. Regularly update and patch all web components and plugins as soon as fixes become available from the vendor.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-48314: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in salubrio Add Code To Head
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in salubrio Add Code To Head allows Stored XSS. This issue affects Add Code To Head: from n/a through 1.17.
AI-Powered Analysis
Technical Analysis
CVE-2025-48314 is a medium severity vulnerability classified under CWE-79, which corresponds to Improper Neutralization of Input During Web Page Generation, commonly known as Cross-site Scripting (XSS). This vulnerability affects the 'Add Code To Head' plugin developed by salubrio, specifically versions up to 1.17. The flaw allows an attacker to inject malicious scripts that are stored persistently within the application. When a legitimate user accesses the affected web page, the malicious script executes in their browser context. The CVSS 3.1 base score is 5.9, indicating a medium level of severity. The vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L) reveals that the attack can be performed remotely over the network (AV:N) with low attack complexity (AC:L), but requires high privileges (PR:H) and user interaction (UI:R). The scope is changed (S:C), meaning the vulnerability affects resources beyond the initially vulnerable component. The impact affects confidentiality, integrity, and availability at a low level. The vulnerability arises from insufficient input sanitization when generating web pages, allowing malicious payloads to be stored and later executed in users' browsers. Although no known exploits are currently reported in the wild, the presence of stored XSS can lead to session hijacking, defacement, or redirection to malicious sites if exploited. The lack of available patches at the time of this report suggests that users should prioritize mitigation and monitoring until an official fix is released.
Potential Impact
For European organizations using the 'Add Code To Head' plugin by salubrio, this vulnerability poses a risk primarily to web applications that incorporate this plugin to inject code into the head section of web pages. Exploitation could lead to unauthorized script execution in the context of authenticated users, potentially compromising user sessions, leaking sensitive information, or enabling further attacks such as privilege escalation or malware delivery. Given the requirement for high privileges to exploit, internal users or attackers who have gained elevated access could leverage this vulnerability to expand their foothold. The impact on confidentiality, integrity, and availability is low to moderate but can be significant depending on the nature of the data handled by the affected web applications. European organizations in sectors with high web presence—such as e-commerce, government portals, and financial services—may face reputational damage and regulatory scrutiny under GDPR if user data is compromised. Additionally, the cross-site scripting vulnerability could be used as a vector for phishing or social engineering attacks targeting European users.
Mitigation Recommendations
1. Immediate mitigation should include auditing and restricting access to the 'Add Code To Head' plugin to minimize the number of users with high privileges who can inject code. 2. Implement strict input validation and output encoding on all user-supplied data that is rendered in the head section of web pages to prevent malicious script injection. 3. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers, limiting the impact of potential XSS payloads. 4. Monitor web application logs and user activity for unusual behavior indicative of exploitation attempts. 5. Until an official patch is released, consider disabling or removing the vulnerable plugin if feasible, or isolate affected systems from critical networks. 6. Educate privileged users about the risks of injecting untrusted code and enforce the principle of least privilege. 7. Regularly update and patch all web components and plugins as soon as fixes become available from the vendor.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Patchstack
- Date Reserved
- 2025-05-19T14:13:53.900Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68b0537dad5a09ad006cfc6b
Added to database: 8/28/2025, 1:02:53 PM
Last enriched: 8/28/2025, 2:20:06 PM
Last updated: 10/19/2025, 4:21:34 PM
Views: 13
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.
Related Threats
CVE-2025-11942: Missing Authentication in 70mai X200
MediumCVE-2025-11941: Path Traversal in e107 CMS
MediumCVE-2025-11940: Uncontrolled Search Path in LibreWolf
HighCVE-2025-11939: Path Traversal in ChurchCRM
MediumCVE-2025-11938: Deserialization in ChurchCRM
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.