CVE-2025-58653: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in JS Morisset JSM file_get_contents() Shortcode
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in JS Morisset JSM file_get_contents() Shortcode allows Stored XSS. This issue affects JSM file_get_contents() Shortcode: from n/a through 2.7.1.
AI Analysis
Technical Summary
CVE-2025-58653 is a vulnerability classified as CWE-79, which pertains to Improper Neutralization of Input During Web Page Generation, commonly known as Cross-site Scripting (XSS). This specific vulnerability affects the JS Morisset JSM file_get_contents() Shortcode component, versions up to 2.7.1. The flaw allows an attacker to inject malicious scripts that are stored and later executed in the context of users visiting the affected web pages. The vulnerability arises because the input to the shortcode is not properly sanitized or neutralized before being embedded into the generated web page, enabling stored XSS attacks. Stored XSS is particularly dangerous because the malicious payload is saved on the server and served to multiple users, increasing the attack surface and potential impact. The CVSS 3.1 base score is 6.5, indicating a medium severity level. The vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L reveals that the attack can be performed remotely over the network with low attack complexity, requires low privileges, and some user interaction is necessary. The scope is changed, meaning the vulnerability can affect resources beyond the initially vulnerable component. The impact on confidentiality, integrity, and availability is low to moderate, as the attacker can execute scripts that may steal user data, manipulate content, or disrupt availability to some extent. No known exploits are currently reported in the wild, and no patches have been linked yet, indicating that mitigation may rely on vendor updates or manual input sanitization by administrators.
Potential Impact
For European organizations, this vulnerability poses a significant risk especially for those using the JS Morisset JSM file_get_contents() Shortcode in their web applications or content management systems. Stored XSS can lead to session hijacking, credential theft, defacement, or distribution of malware to users, undermining user trust and potentially violating GDPR requirements related to data protection and breach notification. The medium severity score suggests that while the vulnerability is not critical, it can still cause meaningful harm, particularly in sectors with high web traffic or sensitive user data such as finance, healthcare, and e-commerce. Exploitation could lead to reputational damage, legal consequences, and operational disruptions. Since the vulnerability requires some user interaction, phishing or social engineering could be used to increase success rates. The changed scope means that the impact could extend beyond the immediate vulnerable component, potentially affecting other integrated systems or services.
Mitigation Recommendations
European organizations should immediately audit their use of the JS Morisset JSM file_get_contents() Shortcode and identify any instances where untrusted input is passed to this shortcode. Until an official patch is released, implement strict input validation and output encoding to neutralize any potentially malicious input. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts. Regularly monitor web application logs for unusual input patterns or script injections. Educate users and administrators about the risks of stored XSS and the importance of cautious interaction with web content. Additionally, consider deploying Web Application Firewalls (WAFs) configured to detect and block XSS payloads targeting this vulnerability. Once a patch is available from JS Morisset, prioritize its deployment in all affected environments. Finally, conduct penetration testing focused on XSS vectors to verify the effectiveness of mitigations.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Belgium, Sweden
CVE-2025-58653: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in JS Morisset JSM file_get_contents() Shortcode
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in JS Morisset JSM file_get_contents() Shortcode allows Stored XSS. This issue affects JSM file_get_contents() Shortcode: from n/a through 2.7.1.
AI-Powered Analysis
Technical Analysis
CVE-2025-58653 is a vulnerability classified as CWE-79, which pertains to Improper Neutralization of Input During Web Page Generation, commonly known as Cross-site Scripting (XSS). This specific vulnerability affects the JS Morisset JSM file_get_contents() Shortcode component, versions up to 2.7.1. The flaw allows an attacker to inject malicious scripts that are stored and later executed in the context of users visiting the affected web pages. The vulnerability arises because the input to the shortcode is not properly sanitized or neutralized before being embedded into the generated web page, enabling stored XSS attacks. Stored XSS is particularly dangerous because the malicious payload is saved on the server and served to multiple users, increasing the attack surface and potential impact. The CVSS 3.1 base score is 6.5, indicating a medium severity level. The vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L reveals that the attack can be performed remotely over the network with low attack complexity, requires low privileges, and some user interaction is necessary. The scope is changed, meaning the vulnerability can affect resources beyond the initially vulnerable component. The impact on confidentiality, integrity, and availability is low to moderate, as the attacker can execute scripts that may steal user data, manipulate content, or disrupt availability to some extent. No known exploits are currently reported in the wild, and no patches have been linked yet, indicating that mitigation may rely on vendor updates or manual input sanitization by administrators.
Potential Impact
For European organizations, this vulnerability poses a significant risk especially for those using the JS Morisset JSM file_get_contents() Shortcode in their web applications or content management systems. Stored XSS can lead to session hijacking, credential theft, defacement, or distribution of malware to users, undermining user trust and potentially violating GDPR requirements related to data protection and breach notification. The medium severity score suggests that while the vulnerability is not critical, it can still cause meaningful harm, particularly in sectors with high web traffic or sensitive user data such as finance, healthcare, and e-commerce. Exploitation could lead to reputational damage, legal consequences, and operational disruptions. Since the vulnerability requires some user interaction, phishing or social engineering could be used to increase success rates. The changed scope means that the impact could extend beyond the immediate vulnerable component, potentially affecting other integrated systems or services.
Mitigation Recommendations
European organizations should immediately audit their use of the JS Morisset JSM file_get_contents() Shortcode and identify any instances where untrusted input is passed to this shortcode. Until an official patch is released, implement strict input validation and output encoding to neutralize any potentially malicious input. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts. Regularly monitor web application logs for unusual input patterns or script injections. Educate users and administrators about the risks of stored XSS and the importance of cautious interaction with web content. Additionally, consider deploying Web Application Firewalls (WAFs) configured to detect and block XSS payloads targeting this vulnerability. Once a patch is available from JS Morisset, prioritize its deployment in all affected environments. Finally, conduct penetration testing focused on XSS vectors to verify the effectiveness of mitigations.
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-09-03T09:03:29.730Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68d194d0a6a0abbafb7a3c7b
Added to database: 9/22/2025, 6:26:24 PM
Last enriched: 9/30/2025, 1:14:58 AM
Last updated: 10/7/2025, 1:52:02 PM
Views: 8
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
Hackers Stole Data From Public Safety Comms Firm BK Technologies
MediumCVE-2025-11396: SQL Injection in code-projects Simple Food Ordering System
MediumCVE-2025-40889: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Nozomi Networks Guardian
HighCVE-2025-40888: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Nozomi Networks Guardian
MediumCVE-2025-40887: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Nozomi Networks Guardian
MediumActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.