CVE-2023-34461 Cross-site Scripting (XSS) Availability in PyBB
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
PyBB is an open source bulletin board. A manual code review of the PyBB bulletin board server has revealed that a vulnerability could have been exploited in which users could submit any type of HTML tag, and have said tag run. For example, a malicious <a> that looks like <a href=javascript:alert (1)>xss</a> could have been used to run code through JavaScript on the client side. The problem has been patched as of commit 5defd92, and users are advised to upgrade. Attackers do need posting privilege in order to exploit this vulnerability. This vulnerability is present within the 0.1.0 release, and users are advised to upgrade to 0.1.1. Users unable to upgrade may be able to work around the attack by either; Removing the ability to create posts, removing the |safe tag from the Jinja2 template titled "post.html" in templates or by adding manual validation of links in the post creation section.
Upgrade path
2 packages: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| benjjvi PyBB | = < 0.1.1 | No fix listed | Versions listed |
| pybb project pybb | = 0.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| benjjvi PyBB | = < 0.1.1 | No fix listed |
| pybb project pybb | = 0.1.0 | No fix listed |
References
- https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p mitigation patch third-party-advisory
- https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854 patch