{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-34461 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-34461 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-34461 is a medium-severity cross-site scripting vulnerability in benjjvi PyBB, published on 19 Jun 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-34461 and fix it if it is affected.\n\nWhat it is: CVE-2023-34461 is a medium-severity cross-site scripting vulnerability in benjjvi PyBB, published on 19 Jun 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-34461 in the wild and no public exploit code.\n\nAffected product: benjjvi PyBB. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-34461/ (Markdown: https://insights.sbomify.com/CVE-2023-34461/index.md)","id":"CVE-2023-34461","markdown":"https://insights.sbomify.com/CVE-2023-34461/index.md","name":"CVE-2023-34461","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PyBB bulletin board","requires_auth":"low_privilege","summary":"Attackers with posting privileges can inject malicious HTML/JavaScript into PyBB posts, leading to client-side code execution.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pybb","vendor":"pybb_project"}],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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 `\u003ca\u003e` that looks like ```\u003ca href=javascript:alert (1)\u003exss\u003c/a\u003e``` 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Cross-site Scripting (XSS) Availability in PyBB","id":"CVE-2023-34461","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"netty-handler SniHandler 16MB allocation","id":"CVE-2023-34462"},"packages":[],"prev":{"headline":"Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles","id":"CVE-2023-34460"},"products":["PyBB"],"published":"2023-06-19","related":[{"cvss_score":9.8,"headline":"benjjvi/PyBB may send unsanitized request to SQL database","id":"CVE-2023-34249","kev_date_added":null,"published":"2023-06-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-09","vendors":["benjjvi"]},"summary":"Attackers with posting privileges can inject malicious HTML/JavaScript into PyBB posts, leading to client-side code execution.","url":"https://insights.sbomify.com/CVE-2023-34461/"}