# CVE-2026-118597: Akaunting 3.3.0 - Stored XSS in custom invoice payment terms

Status: published. Published: 2026-11-12. Updated: 2026-11-12.

Akaunting 3.3.0 contains a stored cross-site scripting vulnerability in custom invoice payment terms. An authenticated Manager can save a crafted custom payment-term value. When an authorized user opens Invoice Settings for the same company, Akaunting inserts the stored value into a client-side event-handler expression, causing attacker-controlled JavaScript to execute in the victim's authenticated origin.

## Remediation

- fix: Use a JavaScript-safe serializer such as Laravel Js::from() or a framework data binding for the custom payment-term value; validate it as a bounded integer when it represents a number of days; apply the vendor-fixed release once one is published. (source: CNA: Fluid Attacks)
- workaround: Use only predefined payment-term options, replace existing custom values, and restrict invoice-settings update access to trusted users until a vendor fix is available. Treat this as temporary mitigation rather than a fix. (source: CNA: Fluid Attacks)

## Affected products and versions

- Akaunting / Akaunting: 3.3.0 (affected, semver). Source: CNA: Fluid Attacks; platforms: Windows, MacOS, Linux

## Severity and prioritization

- CVSS 4.0: 7.2 (high); CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N; source: CNA: Fluid Attacks

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-79

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://fluidattacks.com/advisories/rhiannon (CNA: Fluid Attacks; third-party-advisory)

- https://github.com/akaunting/akaunting (CNA: Fluid Attacks; product)

- https://github.com/akaunting/akaunting/blob/3.3.0/app/View/Components/Form/Group/PaymentTerm.php (CNA: Fluid Attacks; technical-description)

- https://github.com/akaunting/akaunting/blob/3.3.0/resources/views/components/form/group/payment_term.blade.php (CNA: Fluid Attacks; technical-description)

- https://github.com/akaunting/akaunting/blob/3.3.0/app/Abstracts/Http/SettingController.php (CNA: Fluid Attacks; technical-description)

## Provenance

- CNA: Fluid Attacks: https://www.cve.org/CVERecord?id=CVE-2026-118597; retrieved 2026-11-12; source updated 2026-11-12

Revision: d620a608fc099f8b245150fac8585e5c853a7baef6de0ae71030b796d6f97c77

Canonical: https://y2.dev/cve/CVE-2026-118597

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.