CVE-2023-37785: ImpressCMS Cross-site Scripting vulnerability
Summary
CVE-2023-37785: ImpressCMS Cross-site Scripting vulnerability. Affects impresscms/impresscms versions < 1.4.5. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
ImpressCMS is an open-source content management system (CMS) that allows users to create and manage websites. It provides various features such as user management, content editing, and plugin support. The vulnerability affects ImpressCMS versions 1.4.5 and earlier.
Vulnerability Detail
The vulnerability in ImpressCMS is a cross-site scripting (XSS) vulnerability. It occurs when an attacker injects a crafted payload into the smile_code parameter of the /editprofile.php component. This allows the attacker to execute arbitrary web scripts or HTML on the affected website. The impact of this vulnerability can range from defacement of the website to stealing sensitive user information.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
If upgrading to the latest version is not immediately possible, a temporary workaround can be implemented by disabling the affected component or filtering the smile_code parameter to remove any potentially malicious input. Here is an example of how to filter the input in PHP:
$smile_code = filter_input(INPUT_GET, 'smile_code', FILTER_SANITIZE_STRING);
Conclusion
The cross-site scripting vulnerability in ImpressCMS versions 1.4.5 and earlier can allow attackers to execute arbitrary web scripts or HTML. It is crucial to upgrade to the latest version of ImpressCMS (1.4.6 or later) to mitigate this vulnerability. If immediate upgrade is not possible, implementing the provided workaround can help reduce the risk. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for impresscms/impresscms →
FAQ
Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as stealing sensitive information or performing actions on behalf of the user.
You can use the Vulert Playground at Vulert Scanner to check if your ImpressCMS installation is affected by this vulnerability. Simply provide the URL of your website, and Vulert will analyze it for known vulnerabilities.
At the time of this advisory, there are no known public exploits specifically targeting this vulnerability in ImpressCMS. However, it is important to patch your installation as soon as possible to prevent any potential attacks.
While upgrading to the latest version is the recommended solution, you can mitigate the risk by implementing the provided workaround. This will help filter and sanitize user input to prevent the execution of malicious scripts.
For more information about this vulnerability, you can refer to the GitHub Security Advisory GHSA-667r-p4gg-7m2q at https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-667r-p4gg-7m2q/GHSA-667r-p4gg-7m2q.json.
References
Related vulnerabilities
Recent vulnerabilities recorded for impresscms/impresscms.