PHPJabbers Restaurant Menu Maker Cross-Site Scripting Vulnerability in preview.php

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in PHPJabbers Restaurant Menu Maker versions through 1.1. The issue arises in the preview.php file, where user-supplied input in the theme parameter is not properly sanitized before being outputted. This flaw allows remote attackers to inject malicious JavaScript that is executed in the context of the user's browser. Exploitation could lead to session hijacking, unauthorized actions on behalf of the user, defacement of web pages, or redirection to malicious sites.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the affected user.

Reproduction

To reproduce this vulnerability, send a GET request to preview.php with a crafted theme parameter that includes JavaScript payloads, such as a script tag containing JavaScript code. This can be done manually or through an automated tool that targets the specific file and parameter.

Remediation

It is recommended to implement proper input validation and output encoding, particularly for user-controlled data. Additionally, consider using a Content Security Policy to mitigate the effects of potential XSS vulnerabilities.

Added: Sep 23, 2025, 1:16 AM
Updated: Sep 23, 2025, 1:16 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.7
remediation
0.0
relevance
0.6
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.