CVE-2022-28378: Cross-site Scripting in craftcms/cms
Summary
CVE-2022-2837: coreDNS vulnerable to Improper Restriction of Communication Channel to Intended Endpoints. Affects github.com/coredns/coredns versions < 1.9.3. 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
Craft CMS is a popular content management system used for building websites and web applications. It provides a flexible and customizable platform for managing content and creating dynamic web pages. The craftcms/cms package is a core component of Craft CMS, responsible for handling various functionalities and features. Unfortunately, Craft CMS versions prior to 3.7.29 are vulnerable to a cross-site scripting (XSS) attack.
Vulnerability Detail
The vulnerability in craftcms/cms allows an attacker to inject malicious scripts into web pages viewed by users. This can lead to various security risks, including the theft of sensitive information, session hijacking, and unauthorized actions on behalf of the user. The vulnerability is classified as moderate severity with a CVSS score of 6.1. It is identified as CWE-79, which refers to improper neutralization of input during web page generation. The vulnerability was discovered on April 4, 2022, and has been reviewed by GitHub.
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
There is no specific workaround provided for this vulnerability. Updating to the latest version is the recommended solution.
Conclusion
Craft CMS versions prior to 3.7.29 are vulnerable to a cross-site scripting (XSS) attack. It is crucial to update the craftcms/cms package to version 3.7.29 or higher to mitigate the risk. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for github.com/coredns/coredns →
FAQ
Craft CMS is a content management system used for building websites and web applications. It provides a flexible and customizable platform for managing content and creating dynamic web pages.
Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by users. This can lead to various security risks, including the theft of sensitive information and unauthorized actions on behalf of the user.
The vulnerability is classified as moderate severity with a CVSS score of 6.1.
To fix the vulnerability, it is recommended to update the craftcms/cms package to version 3.7.29 or higher. This can be done by running the following command in the terminal: composer require craftcms/cms:^3.7.29
There is no specific workaround provided for this vulnerability. Updating to the latest version is the recommended solution.
Related vulnerabilities
Recent vulnerabilities recorded for github.com/coredns/coredns.