Stored script execution via crafted Website Name
Published Nov 20, 2024 · Updated Dec 8, 2025
The reported stored XSS in install/index.php in MyBB 1.8.38 allows remote authenticated users to execute script through a crafted Website Name. During create_admin_user(), the installer applies database and string escaping that does not neutralize HTML, then stores websitename in the database and inc/settings.php for later unescaped rendering. MyBB disputes the security impact because only an administrator performing installation can set the value, and administrators are already permitted to use JavaScript.
Summary
What happened
The reported stored XSS in install/index.php in MyBB 1.8.38 allows remote authenticated users to execute script through a crafted Website Name. During create_admin_user(), the installer applies database and string escaping that does not neutralize HTML, then stores websitename in the database and inc/settings.php for later unescaped rendering. MyBB disputes the security impact because only an administrator performing installation can set the value, and administrators are already permitted to use JavaScript.
The record
- CVE
- CVE-2024-52702
- Published
- Nov 20, 2024
- Updated
- Dec 8, 2025
- Vendor
- MyBB
- Product
- MyBB
- Classifications
- CWE-79
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Nov 20, 2024CVE publishedPublication date reported by the CVE source.
- Dec 8, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.8.38
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- MyBB Website Name stored-XSS reproductionproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo