CVE-2017-17649 in Video Sharing Scriptinfo

Summary

by MITRE

Readymade Video Sharing Script 3.2 has HTML Injection via the single-video-detail.php comment parameter.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/02/2025

The vulnerability identified as CVE-2017-17649 affects the Readymade Video Sharing Script version 3.2, specifically targeting the single-video-detail.php component through improper input validation in the comment parameter. This issue represents a classic html injection flaw that allows attackers to inject malicious html code into the application's output, potentially compromising user interactions and data integrity. The vulnerability exists due to insufficient sanitization of user-supplied input before rendering it within the web page context, creating an opportunity for malicious actors to manipulate the application's behavior and user experience.

The technical exploitation of this vulnerability occurs when an attacker submits specially crafted html content through the comment parameter in the single-video-detail.php script. The application fails to properly escape or filter the input data, allowing html tags and scripts to be rendered directly in the user's browser context. This injection can manifest in various forms including script execution, cross-site scripting payloads, or malicious html elements that alter the page appearance and functionality. The vulnerability falls under the CWE-79 category of Cross-Site Scripting, specifically targeting the storage or reflected variant where user input is directly embedded into html output without proper sanitization mechanisms.

The operational impact of this vulnerability extends beyond simple html injection, as it can enable attackers to perform session hijacking, steal user credentials, or redirect victims to malicious websites. When users view video details containing injected html content, their browsers execute the malicious code, potentially leading to complete compromise of user sessions and sensitive data exposure. The vulnerability affects the application's integrity and user trust, as legitimate users may encounter unexpected behavior or malicious content while browsing video details. Attackers can leverage this flaw to inject phishing content, create misleading advertisements, or establish persistent malicious presence within the application's user interface.

Security mitigations for this vulnerability should focus on implementing comprehensive input validation and output encoding mechanisms throughout the application. The primary defense involves sanitizing all user-supplied input through proper html escaping before rendering content in the browser context, utilizing libraries such as htmlpurifier or similar sanitization tools. The application should implement strict content type validation and reject any input containing html tags or script elements unless explicitly permitted through a secure whitelist mechanism. Additionally, implementing proper security headers including content security policy can provide additional protection against script execution and prevent unauthorized code injection. Organizations should also conduct regular security audits and input validation testing to identify similar vulnerabilities across the application's codebase, following established security frameworks such as those outlined in the owasp top ten and mitre attack framework. The remediation process requires thorough code review to ensure all input parameters are properly validated and sanitized, with particular attention to user-facing components that render dynamic content.

Reservation

12/13/2017

Disclosure

12/18/2017

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.01265

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!