CVE-2022-28378: Cross-site Scripting in craftcms/cms

github.com/coredns/coredns Updated 02 Oct 2025

Summary

03/03/2023
No i
Moderate
6.1

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback