{"id":"CVE-2021-21260","state":"PUBLISHED","title":"XSS in description field","description":"Online Invoicing System (OIS) is open source software which is a lean invoicing system for small businesses, consultants and freelancers created using AppGini. In OIS version 4.0 there is a stored XSS which can enables an attacker takeover of the admin account through a payload that extracts a csrf token and sends a request to change password. It has been found that Item description is reflected without sanitization in app/items_view.php which enables the malicious scenario.","publishedAt":"2021-01-22T17:20:15.000Z","updatedAt":"2024-08-03T18:09:15.041Z","severity":{"score":7.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["bigprof-software online-invoicing-system"],"affected":[{"vendor":"bigprof-software","product":"online-invoicing-system","versions":[{"version":"= 4.0","status":"affected"}]}],"references":["https://github.com/bigprof-software/online-invoicing-system/security/advisories/GHSA-rm79-5596-r7q4","https://github.com/bigprof-software/online-invoicing-system/releases/tag/4.2"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:47:59.168Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/21xxx/CVE-2021-21260.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-21260","state":"PUBLISHED","datePublished":"2021-01-22T17:20:15.000Z","dateUpdated":"2024-08-03T18:09:15.041Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-12-22T00:00:00.000Z"},"containers":{"cna":{"title":"XSS in description field","descriptions":[{"lang":"en","value":"Online Invoicing System (OIS) is open source software which is a lean invoicing system for small businesses, consultants and freelancers created using AppGini. In OIS version 4.0 there is a stored XSS which can enables an attacker takeover of the admin account through a payload that extracts a csrf token and sends a request to change password. It has been found that Item description is reflected without sanitization in app/items_view.php which enables the malicious scenario."}],"affected":[{"vendor":"bigprof-software","product":"online-invoicing-system","versions":[{"version":"= 4.0","status":"affected"}]}],"references":[{"url":"https://github.com/bigprof-software/online-invoicing-system/security/advisories/GHSA-rm79-5596-r7q4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bigprof-software/online-invoicing-system/releases/tag/4.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-01-22T17:20:15.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-rm79-5596-r7q4","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21260","STATE":"PUBLIC","TITLE":"XSS in description field"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"online-invoicing-system","version":{"version_data":[{"version_value":"= 4.0"}]}}]},"vendor_name":"bigprof-software"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Online Invoicing System (OIS) is open source software which is a lean invoicing system for small businesses, consultants and freelancers created using AppGini. In OIS version 4.0 there is a stored XSS which can enables an attacker takeover of the admin account through a payload that extracts a csrf token and sends a request to change password. It has been found that Item description is reflected without sanitization in app/items_view.php which enables the malicious scenario."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://github.com/bigprof-software/online-invoicing-system/security/advisories/GHSA-rm79-5596-r7q4","refsource":"CONFIRM","url":"https://github.com/bigprof-software/online-invoicing-system/security/advisories/GHSA-rm79-5596-r7q4"},{"name":"https://github.com/bigprof-software/online-invoicing-system/releases/tag/4.2","refsource":"MISC","url":"https://github.com/bigprof-software/online-invoicing-system/releases/tag/4.2"}]},"source":{"advisory":"GHSA-rm79-5596-r7q4","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/bigprof-software/online-invoicing-system/security/advisories/GHSA-rm79-5596-r7q4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/bigprof-software/online-invoicing-system/releases/tag/4.2","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:09:15.041Z"}}]}}}