{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.3.0"
                  },
                  {
                    "last_affected": "3.3.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          "events": [
            {
              "introduced": "67baffd56038bc1ed6b473f865cc36b32bf865a4"
            },
            {
              "last_affected": "67baffd56038bc1ed6b473f865cc36b32bf865a4"
            }
          ],
          "repo": "https://github.com/akaunting/akaunting",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.3.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Fluid Attacks",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118597.json"
  },
  "details": "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.",
  "id": "CVE-2026-118597",
  "modified": "2026-11-14T02:30:46.657782256Z",
  "published": "2026-11-12T06:09:34.999Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://fluidattacks.com/advisories/rhiannon"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118597.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118597"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/akaunting/akaunting"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/akaunting/akaunting/blob/3.3.0/app/Abstracts/Http/SettingController.php"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/akaunting/akaunting/blob/3.3.0/app/View/Components/Form/Group/PaymentTerm.php"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/akaunting/akaunting/blob/3.3.0/resources/views/components/form/group/payment_term.blade.php"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Akaunting 3.3.0 - Stored XSS in custom invoice payment terms"
}