phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 Stored XSS via Utils::parseUrl()
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| thorstenphpMyFAQ |
< 4.1.12→ 4.1.12 ≥ 4.2.0-alpha, < 4.2.0-RC.2→ 4.2.0-RC.2 |
4.1.12 4.2.0-RC.2 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com