{"id":"CVE-2026-118597","state":"PUBLISHED","title":"Akaunting 3.3.0 - Stored XSS in custom invoice payment terms","description":"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.","publishedAt":"2026-11-12T06:09:34.999Z","updatedAt":"2026-11-17T16:30:40.928Z","severity":{"score":7.2,"label":"High","version":"4.0","vector":"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":"Fluid Attacks"},"assigner":"Fluid Attacks","products":["Akaunting Akaunting"],"affected":[{"vendor":"Akaunting","product":"Akaunting","defaultStatus":"affected","versions":[{"version":"3.3.0","status":"affected","versionType":"semver"}],"platforms":["Windows","MacOS","Linux"],"repo":"https://github.com/akaunting/akaunting"}],"references":["https://fluidattacks.com/advisories/rhiannon","https://github.com/akaunting/akaunting","https://github.com/akaunting/akaunting/blob/3.3.0/app/View/Components/Form/Group/PaymentTerm.php","https://github.com/akaunting/akaunting/blob/3.3.0/resources/views/components/form/group/payment_term.blade.php","https://github.com/akaunting/akaunting/blob/3.3.0/app/Abstracts/Http/SettingController.php"],"weaknesses":["CWE-79"],"ingestedAt":"2026-11-17T16:38:06.546Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118597.json","commit":"fa9d625113711a2d17682aa3ccbf20630e01317b","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118597","state":"PUBLISHED","datePublished":"2026-11-12T06:09:34.999Z","dateUpdated":"2026-11-17T16:30:40.928Z","assignerShortName":"Fluid Attacks","assignerOrgId":"84fe0718-d6bb-4716-a7e8-81a6d1daa869","dateReserved":"2026-10-28T16:41:38.774Z"},"containers":{"cna":{"title":"Akaunting 3.3.0 - Stored XSS in custom invoice payment terms","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Akaunting","product":"Akaunting","defaultStatus":"affected","versions":[{"version":"3.3.0","status":"affected","versionType":"semver"}],"platforms":["Windows","MacOS","Linux"],"repo":"https://github.com/akaunting/akaunting"}],"references":[{"url":"https://fluidattacks.com/advisories/rhiannon","tags":["third-party-advisory"]},{"url":"https://github.com/akaunting/akaunting","tags":["product"]},{"url":"https://github.com/akaunting/akaunting/blob/3.3.0/app/View/Components/Form/Group/PaymentTerm.php","tags":["technical-description"]},{"url":"https://github.com/akaunting/akaunting/blob/3.3.0/resources/views/components/form/group/payment_term.blade.php","tags":["technical-description"]},{"url":"https://github.com/akaunting/akaunting/blob/3.3.0/app/Abstracts/Http/SettingController.php","tags":["technical-description"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"HIGH","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.2,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"Fluid Attacks","orgId":"84fe0718-d6bb-4716-a7e8-81a6d1daa869","dateUpdated":"2026-11-12T06:09:34.999Z"},"impacts":[{"capecId":"CAPEC-592","descriptions":[{"lang":"en","value":"CAPEC-592 Stored XSS"}]}],"cpeApplicability":[{"operator":"OR","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:akaunting:akaunting:3.3.0:*:windows:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:akaunting:akaunting:3.3.0:*:macos:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:akaunting:akaunting:3.3.0:*:linux:*:*:*:*:*"}]}]}],"workarounds":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"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."}]}],"solutions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"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."}]}],"timeline":[{"time":"2026-10-27T14:00:00.000Z","lang":"en","value":"Vulnerability discovered"},{"time":"2026-10-28T21:51:00.000Z","lang":"en","value":"Vendor contacted"},{"time":"2026-11-12T06:08:00.000Z","lang":"en","value":"Public disclosure"}],"credits":[{"lang":"en","value":"Fluid Attacks' AI SAST Scanner","type":"finder"},{"lang":"en","value":"Miguel Gómez","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.5"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-17T16:05:43.661015Z","id":"CVE-2026-118597","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-17T16:30:40.928Z"}}]}}}