miniBB 3.7.2 whatus Cross Site Scripting
Reflected XSS in miniBB bb_admin.php via whatus parameter allows JS execution.
| Reporter | Title | Published | Views | Family All 8 |
|---|---|---|---|---|
| CVE-2008-2066 | 2 May 200823:00 | – | cve | |
| CVE-2008-2066 | 2 May 200823:00 | – | cvelist | |
| EUVD-2008-2063 | 7 Oct 202500:30 | – | euvd | |
| CVE-2008-2066 | 2 May 200823:20 | – | nvd | |
| Cross site scripting | 2 May 200823:20 | – | prion | |
| Cross site scripting | 31 Jul 201313:20 | – | prion | |
| CVE-2008-2066: Improper Neutralization of Input During Web Page Generation | 2 May 200800:00 | – | rapid7 | |
| CVE-2013-5020 | 22 May 202502:45 | – | redhatcve |
# miniBB 3.7.2 `whatus` Cross-Site Scripting Filter Bypass
**Author:** Khashayar Fereidani
**Disclosure Date:** 2026-11-20
**Advisory:** https://fereidani.com/minibb-372-whatus-cross-site-scripting-filter-bypass
**Contact:** https://fereidani.com/contact
## Description
A reflected cross-site scripting vulnerability exists in the
administrator user search of miniBB (bb_admin.php), reachable through
the `whatus` parameter. The input filter at line 513 removes `<`, `>`,
`%3C`, `%3E` and line breaks, but does not remove the double quote
character, so the value can still break out of the `value="..."`
attribute of the search form, and out of the page navigation and sort
links built from `$urlSet` in the `notmember` branch and the hidden
`whatus` field of the delete form. This bypasses the input filter
introduced after the `whatus` XSS issue reported in 2008
(CVE-2008-2066), which relied on stripping angle brackets.
**Proof of Concept:**
```text
http://HOSTNAME/bb_admin.php?action=searchusers2&searchus=registr&whatus=%22%20autofocus%20onfocus=%22alert(1)%20x=%22
```
When an authenticated administrator opens the link, the injected
`onfocus` handler executes automatically.
## Impact
An attacker can execute arbitrary JavaScript in the administrator's
browser by delivering a single crafted link, leading to session
hijacking and full administrative takeover. The `maxlength` attribute
of the search input is client-side only and does not restrict
URL-supplied values.
CVSS 3.1 base score: 6.1 Medium
(`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`).
## Solution
Fixed in miniBB 3.8. Upgrade to 3.8 or later. To patch an older
install by hand, HTML-encode `$whatus` at every output point: the
search form, the hidden field of the delete form, and the `$urlSet`
links. Encoding at output keeps search by names that contain quotes or
apostrophes working.
## Timeline
- 2026-09-25: Reported to the miniBB maintainer, together with the
other miniBB 3.7.2 issues.
- 2026-10-01 to 2026-10-02: The maintainer sent pre-releases with the fix.
- 2026-10-09: Fix verified.
- 2026-11-20: Fixed in miniBB 3.8. Report published.
## References
- [CVE-2008-2066 - NVD](https://nvd.nist.gov/vuln/detail/CVE-2008-2066)
- [Original advisory (SecLists,
2008)](https://seclists.org/bugtraq/2008/Apr/296)
- [miniBB `whatus` Cross-Site Scripting
(2008)](https://fereidani.com/minibb-whatus-xss)
- [CWE-79: Improper Neutralization of Input During Web Page Generation
('Cross-site Scripting')](https://cwe.mitre.org/data/definitions/79.html)
- [miniBB - official website](https://www.minibb.com/)Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
02 Dec 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 24.3
EPSS0.017