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.
References
Link | Resource |
---|---|
https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854 | Patch |
https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p | Mitigation Patch Third Party Advisory |
https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854 | Patch |
https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p | Mitigation Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 08:07
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 4.6 |
References | () https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854 - Patch | |
References | () https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p - Mitigation, Patch, Third Party Advisory |
27 Jun 2023, 17:09
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.4 |
CPE | cpe:2.3:a:pybb_project:pybb:0.1.0:*:*:*:*:*:*:* | |
References | (MISC) https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p - Mitigation, Patch, Third Party Advisory | |
References | (MISC) https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854 - Patch |
19 Jun 2023, 18:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-06-19 18:15
Updated : 2024-11-21 08:07
NVD link : CVE-2023-34461
Mitre link : CVE-2023-34461
CVE.ORG link : CVE-2023-34461
JSON object : View
Products Affected
pybb_project
- pybb
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')