fluentcms / fluentcms/FluentCMS

XSS vulnerability in TextHTML plugin

Open
#2,405 0 comments 1 reaction 2 assignees Claimed by @pournasserian View on GitHub
bug
Dominant language
C#
Stars
565
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Description:
A cross-site scripting (XSS) vulnerability was identified in the /pagepreview page.
User input is not properly sanitized before being reflected in the HTTP response.

Impact:
An attacker could craft a malicious URL that executes arbitrary JavaScript in the victim’s browser.

Recommendation:
Implement proper input validation and output encoding on both frontend and backend.

Note:
Detailed reproduction steps and screenshots have been shared with the maintainer privately.

You can reproduce the vulnerability by following the steps below.

1. Access to `/?pagePreview=1` and select TextHTML plugin.

Image

2. From the hamburger menu select edit button.

Image

3. Insert payload and submit.

Image

4. Refresh the page and check the script is triggered.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.