CVE-2023-34461
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 4.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Pybb Project Pybb 0.1.0
Attack profile CVSS 3.1 · 4.6
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-34461.md and follow it. Check whether this project is affected by CVE-2023-34461. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854
- https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p
- https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854
- https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p
References
- https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854
- https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p
- https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854
- https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p