High

Dolibarr Application Home Page has HTML injection vulnerability

  • Disclosed: 18.04.2024
  • Updated: 11.10.2026 10:22

Summary

Observed a HTML Injection vulnerbaility in the Home page of Dolibarr Application. This vulnerability allows an attacker to inject arbitrary HTML tags and manipulate the rendered content in the application's response. Specifically, I was able to successfully inject a new HTML tag into the returned document and, as a result, was able to comment out some part of the Dolibarr App Home page HTML code. This behavior can be exploited to perform various attacks like Cross-Site Scripting (XSS).

Details

  1. Navigate to the login page of Dolibarr application.
  2. Submit a login request with the following payload in an arbitrarily supplied body parameter: "u70ea%22%3e%3c!--HTML_Injection_By_Sai"=1

HTTP Post Request: POST /dolibarr/index.php?mainmenu=home HTTP/1.1 Host: 192.168.37.129 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Referer: http://192.168.37.129/dolibarr/index.php Content-Type: application/x-www-form-urlencoded Content-Length: 375 Origin: http://192.168.37.129 Connection: close Cookie: <Redacted> Upgrade-Insecure-Requests: 1

token=697c1f303ef1976a713eda01d20d8eab&actionlogin=login&loginfunction=loginfunction&backtopage=&tz=5.5&tz_string=Asia%2FKolkata&dst_observed=0&dst_first=&dst_second=&screenwidth=1280&screenheight=587&dol_hide_topmenu=&dol_hide_leftmenu=&dol_optimize_smallscreen=&dol_no_mouse_hover=&dol_use_jmobile=&username=admin&password=manikanta&u70ea%22%3e%3c!--HTML_Injection_By_Sai=1

  1. Upon successful injection of the payload, some part of Home page HTML code was commented out.

POC Kindly go through the below video for detailed steps:

https://user-images.githubusercontent.com/26869643/294010332-ff88d80b-cb26-4870-82d3-fb49f7ecc32f.mp4

Remediation Suggestion Kindly validate and sanitize all user-supplied input, especially within HTML attributes, to prevent HTML injection attacks. Implement proper output encoding when rendering user-provided data to ensure it is treated as plain text rather than executable HTML.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package dolibarr/dolibarr >= 18.0.4, < 18.0.7 18.0.7

References

CVSS score 7.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Weakness (CWE)
CWE-79, CWE-80
Platform
Composer
Package
dolibarr/dolibarr
Disclosed
18.04.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7947-48q7-cp5m - CC BY 4.0

Vulnerability history: dolibarr/dolibarr

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (126) in the archive
Total entries
126
First → latest
11.2019 06.2026
Without a fix
49
Exploited in attacks
0

Severity breakdown

  • Critical 27
  • High 38
  • Medium 56
  • Low 5

Disclosures per year

  1. 2019: 1
  2. 2020: 2
  3. 2021: 5
  4. 2022: 87
  5. 2023: 9
  6. 2024: 9
  7. 2025: 4
  8. 2026: 9
Severity:
  1. Critical · 9.8 CVE-2018-25357 >= 7.0.0, < 7.0.4, < 6.0.8 7.0.4, 6.0.8
  2. High · 8.8 CVE-2026-31018 <= 15.0.3 no fix
  3. Critical · 9.1 CVE-2026-23500 <= 22.0.4 no fix
  4. High · 8.8 CVE-2025-56588 < 21.0.3 21.0.3
  5. High · 8.8 ghsa-49xw-hw94-fmv2 <= 21.0.2 no fix
  6. High · 5.5 CVE-2024-40137 < 19.0.2 19.0.2
  7. High · 8.8 CVE-2024-37821 < 19.0.2 19.0.2
  8. Critical · 9.1 CVE-2024-5315 <= 9.0.1 no fix
  9. Critical · 9.1 CVE-2024-5314 <= 9.0.1 no fix
  10. Dolibarr Application Home Page has HTML injection vulnerability this entry
    High · 7.1 CVE-2024-23817 >= 18.0.4, < 18.0.7 18.0.7
  11. High · 7.5 CVE-2024-31503 <= 19.0.0 no fix
  12. High · 7.5 CVE-2023-4197 < 18.0.2 18.0.2
  13. High · 8.8 CVE-2023-38887 < 17.0.1 17.0.1
  14. Critical · 9.6 CVE-2023-38888 < 17.0.1 17.0.1
  15. High · 7.5 CVE-2023-33568 >= 16.0.0, < 16.0.5 16.0.5
  16. Critical · 9.8 CVE-2022-4093 >= 16.0.1, < 16.0.3 16.0.3
  17. Critical · 9.8 CVE-2022-43138 < 14.0.1 14.0.1
  18. Critical · 9.8 CVE-2022-40871 <= 15.0.3 no fix
  19. Critical · 9.8 CVE-2021-33816 >= 13.0.2, < 14.0.0 14.0.0
  20. High · 7.2 CVE-2020-35136 < 12.0.4 12.0.4
  21. High · 8.8 CVE-2020-14209 < 11.0.5 11.0.5
  22. High · 8.8 CVE-2020-12669 < 12.0.0 12.0.0
  23. High · 8.8 CVE-2020-11825 <= 10.0.6 no fix
  24. Critical · 9.8 CVE-2019-19212 >= 3.0, <= 10.0.3 no fix
  25. High · 7.5 CVE-2019-19209 < 10.0.3 10.0.3
  26. Critical · 9.8 CVE-2020-7995 = 10.0.6 no fix
  27. High · 8.0 CVE-2019-15062 >= 10.0, < 10.0.2 10.0.2
  28. High · 8.8 CVE-2019-11200 < 9.0.3 9.0.3
  29. High · 8.0 CVE-2019-11201 < 9.0.3 9.0.3
  30. High · 8.8 CVE-2019-1010054 = 7.0.0 no fix
  31. Critical · 9.8 CVE-2017-7888 <= 4.0.4 no fix
  32. Critical · 9.8 CVE-2017-9435 < 5.0.3 5.0.3
  33. High · 8.8 CVE-2017-9840 <= 5.0.3 no fix
  34. Critical · 9.8 CVE-2017-14238 < 6.0.1 6.0.1
  35. Critical · 9.8 CVE-2017-14242 < 6.0.1 6.0.1
  36. High · 7.5 CVE-2017-14240 < 6.0.1 6.0.1
  37. Critical · 9.8 CVE-2017-17897 < 6.0.5 6.0.5
  38. Critical · 9.8 CVE-2017-17900 < 6.0.5 6.0.5
  39. High · 7.5 CVE-2017-17898 < 6.0.5 6.0.5
  40. High · 8.8 CVE-2017-18260 <= 7.0.0 no fix
  41. Critical · 9.8 CVE-2018-10094 < 7.0.2 7.0.2
  42. Critical · 9.8 CVE-2018-13448 >= 7.0.3, < 7.0.4 7.0.4
  43. Critical · 9.8 CVE-2018-13447 >= 7.0.3, < 7.0.4 7.0.4
  44. Critical · 9.8 CVE-2018-13450 >= 7.0.3, < 7.0.4 7.0.4
  45. Critical · 9.8 CVE-2018-13449 >= 7.0.3, < 7.0.4 7.0.4
  46. High · 8.8 CVE-2018-19998 < 8.0.4 8.0.4
  47. Critical · 9.8 CVE-2018-16809 >= 3.8, <= 7.0.0 no fix
  48. High · 8.0 CVE-2018-10092 < 7.0.2 7.0.2
  49. Critical · 9.8 CVE-2018-9019 < 7.0.2 7.0.2
  50. High · 8.8 CVE-2021-36625 < 14.0.0 14.0.0
  51. High · 7.5 CVE-2021-37517 < 14.0.1 14.0.1
Show more (5) Showing 60 of 65

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.