CVE-2026-131651
rtMedia for WordPress, BuddyPress and bbPress <= 4.7.18 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via 'media_title' Parameter
- State
- Published
- Severity
- 6.4 Medium
- Published
- Nov 21, 2026
- Updated
- Nov 21, 2026
- Reserved
- Nov 17, 2026
Description
The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'media_title' parameter in all versions up to, and including, 4.7.18 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The vulnerability is only triggerable via the Backbone.js-rendered "Load More" pagination path; the server-side PHP gallery rendering correctly escapes media_title with esc_attr() and is not affected.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
Affected Products
| Product | Versions |
|---|---|
rtMedia for WordPress, BuddyPress and bbPressrtcamp |
|
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f86e25a4-adce-4e27-9575-97d577902080?source=cve
- https://plugins.trac.wordpress.org/browser/buddypress-media/tags/4.7.18/templates/media/album-gallery.php#L161
- https://plugins.trac.wordpress.org/browser/buddypress-media/tags/4.7.18/app/assets/js/rtMedia.backbone.js#L463
- https://plugins.trac.wordpress.org/browser/buddypress-media/tags/4.7.18/app/main/controllers/template/RTMediaTemplate.php#L310
- https://plugins.trac.wordpress.org/browser/buddypress-media/tags/4.7.18/app/main/controllers/media/RTMediaMedia.php#L249
- https://plugins.trac.wordpress.org/browser/buddypress-media/tags/4.7.18/app/main/controllers/template/RTMediaTemplate.php#L394
- https://plugins.trac.wordpress.org/changeset/3813127/buddypress-media/trunk/templates/media/album-gallery.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.