Advisory

GHSA-6p68-36m6-392r

Also known as: CVE-2024-28106

Summary

phpMyFAQ Stored Cross-site Scripting at FAQ News Content

Details

Summary
By manipulating the news parameter in a POST request, an attacker can inject malicious JavaScript code. Upon browsing to the compromised news page, the XSS payload triggers.

PoC

  1. Edit a FAQ news, intercept the request and modify the news parameter in the POST body with the following payload: %3cscript%3ealert('xssContent')%3c%2fscript%3e
  2. Browse to the particular news page and the XSS should pop up.

image

Impact
This allows an attacker to execute arbitrary client side JavaScript within the context of another user's phpMyFAQ session

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-03-25 19:45 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

phpmyfaq/phpmyfaq

Packagist · All systems

Affected

  • introduced 3.2.5, fixed 3.2.6 (ecosystem)

Fixed versions

3.2.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences