CVE-2026-130341 · Package
NO FIX YET · SEE WHAT TO DO
phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 lets a registered user post FAQ comments containing javascript: links that survive sanitization when the comment editor is enabled. A user who clicks such a link runs attacker script on the shared admin origin.
first public Nov 16, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Sites running phpMyFAQ 4.1.x below 4.1.12 or 4.2.0-alpha below 4.2.0-RC.2 with registered users who can post comments and the comment editor enabled. Admins who browse those comments are the high-value target because the script runs on the shared admin origin. Sites without the comment editor or without user registration are less exposed.
Not affected if comment-editor-disabled, fixed-version, no-registered-users
Who cares php, phpmyfaq, self-hosted
composer show phpmyfaq/phpmyfaq or the version shown in the admin panel.4.1.12 for the 4.1 line.4.2.0-RC.2 for the 4.2 pre-release line.phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains a stored cross-site scripting vulnerability that allows registered users to inject javascript: links via FAQ comments. When the comment editor is enabled, Utils::parseUrl() strips https:// from sanitized hrefs, turning an allowed https://javascript:443/ link into executable script that runs on the shared admin origin when clicked.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.