{"exploit":{"id":"EDB-49504","name":"MyBB Trending Widget Plugin 1.2 - Cross-Site Scripting (XSS)","description":"MyBB Trending Widget Plugin 1.2 - Cross-Site Scripting (XSS)","cves":["CVE-2018-25132"],"author":"0xB9","published":"2021-02-01","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/49504","path":"exploits/php/webapps/49504.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-49504.txt","vulnerabilities":[{"id":"CVE-2018-25132","state":"PUBLISHED","title":"MyBB Trending Widget Plugin 1.2 - Cross-Site Scripting","titleSource":"CVE Program","description":"MyBB Trending Widget Plugin 1.2 contains a cross-site scripting vulnerability that allows attackers to inject malicious scripts through thread titles. Attackers can modify thread titles with script payloads that will execute when other users view the trending widget.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2018-25132","cvss":{"version":"4.0","baseScore":5.1,"severity":"medium","vectorString":"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","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2018-25132"},"updatedAt":"2026-01-23T19:25:48.149Z","retrievedAt":"2026-11-27T02:28:49.939Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-49504.png?v=2","url":"https://exploitbin.com/exploits/EDB-49504","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-49504/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-49504/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: MyBB Trending Widget Plugin 1.2 - Cross-Site Scripting\n# Date: 11/28/2018\n# Author: 0xB9\n# Software Link: https://github.com/zainali99/trends-widget\n# Version: 1.2\n# Tested on: Windows 10\n\n1. Description:\nThis plugin shows the most trending threads. Trending thread titles aren't sanitized to user input.\n\n2. Proof of Concept:\n\n- Have a trending thread in the widget\n- Change the thread title to a payload   <script>alert('XSS')</script>\nAnyone that visits the forum will execute payload","sha256":"7f6faedd26af2d46273acf04cfbef1dcb180c9b9368fab49eb79bcfadd54888a","bytes":504,"fetchedAt":"2026-11-27T12:11:00.440Z","encoding":"utf-8 (display only; download retains original bytes)"}