4.6medium
Cross-site Scripting (XSS) Availability in PyBB
- Severity
- 4.6medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.34% (higher than 29% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| benjjvi PyBB | < 0.1.1 | CVE List |
| pybb_project pybb | 0.1.0 | NVD |
All scores
| GitHub_M | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-34461 changed 2024-12-09 | CVE Terms of Use |
| NVD | CVE-2023-34461 changed 2026-06-17 | Public domain |