CVE-2017-15682: Cross Site Scripting in Crafter CMS

org.craftercms:crafter-core Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Moderate
Not published

CVE-2017-15682: Cross site scripting in Crafter CMS. Affects org.craftercms:crafter-core versions >= 3.0.0, < 3.0.1. Fixed in 3.0.1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Crafter CMS is an open-source content management system that provides a platform for creating, managing, and delivering digital content. It includes a web-based admin panel called Crafter Studio, which allows users to manage their content and website. The vulnerability identified as CVE-2017-15682 affects Crafter Studio version 3.0.1. This version allows unauthenticated attackers to inject malicious JavaScript code, leading to a stored/blind cross-site scripting (XSS) vulnerability in the admin panel.

Vulnerability Detail

The vulnerability in Crafter CMS Crafter Studio 3.0.1 enables an attacker without authentication to inject malicious JavaScript code. This code can be stored and executed within the admin panel, potentially compromising the security and integrity of the system. Cross-site scripting attacks can lead to various consequences, including unauthorized access, data theft, and manipulation of user sessions. The vulnerability has been assigned a severity level of MODERATE according to the Common Vulnerability Scoring System (CVSS) and is classified under CWE-79.

How To Fix

Minimum fixed version

3.0.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can implement input validation and output encoding to mitigate the risk of XSS attacks. This involves validating and sanitizing user input to remove any potentially malicious code and encoding output to prevent the execution of injected scripts. Here is an example of input validation and output encoding in Java using the OWASP Java Encoder library:

import org.owasp.encoder.Encode;

public class XSSUtils {
  public static String sanitizeInput(String input) {
    // Perform input validation and sanitization
    // Example: remove any script tags
    return input.replaceAll("<script>", "");
  }

  public static String encodeOutput(String output) {
    // Perform output encoding
    return Encode.forHtml(output);
  }
}

Conclusion

The vulnerability CVE-2017-15682 in Crafter CMS Crafter Studio 3.0.1 allows unauthenticated attackers to inject malicious JavaScript code, leading to a stored/blind XSS vulnerability in the admin panel. It is crucial to upgrade to a fixed version of Crafter CMS, such as version 3.0.1, to address this vulnerability. Regularly checking for updates and promptly applying them is essential for maintaining the security of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.craftercms:crafter-core →

Share this vulnerability

FAQ

The vulnerability allows an attacker to inject malicious JavaScript code, potentially leading to unauthorized access, data theft, and manipulation of user sessions within the Crafter CMS admin panel.

Users of Crafter CMS version 3.0.1 and earlier are affected by this vulnerability. It is recommended for all users of the affected version to upgrade to a fixed version.

No, authentication is not required. The vulnerability can be exploited by an unauthenticated attacker.

Yes, the vulnerability has been fixed in Crafter CMS version 3.0.1. It is advised to update to this version or a later one to mitigate the risk.

Yes, users can implement input validation and output encoding as a temporary workaround to mitigate the risk of XSS attacks. However, updating to a fixed version is the recommended long-term solution.

Related vulnerabilities

Recent vulnerabilities recorded for org.craftercms:crafter-core.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

3.0.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.