{"id":"CVE-2024-21731","aliases":["BIT-joomla-2024-21731","EUVD-2024-19347","GHSA-m35v-jxg3-p887"],"status":"published","title":"[20240703] - Core - XSS in StringHelper::truncate method","description":"Improper handling of input could lead to an XSS vector in the StringHelper::truncate method.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00442,"percentile":0.38769,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-07-09T16:15:43Z","modified":"2026-10-24T10:31:01Z","fixes":[{"ecosystem":"Bitnami","package":"joomla","fixed_in":["5.1.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"joomla","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"5.1.2"}]}]}],"products":[{"vendor":"joomla","product":"joomla\\!"},{"vendor":"joomla! project","product":"joomla! cms"}],"references":[{"url":"https://developer.joomla.org/security-centre/937-20240703-core-xss-in-stringhelper-truncate-method.html","tags":["vendor-advisory","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21731","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m35v-jxg3-p887"}],"sources":{"cve":[{"id":"CVE-2024-21731","title":"[20240703] - Core - XSS in StringHelper::truncate method","description":"Improper handling of input could lead to an XSS vector in the StringHelper::truncate method.","status":"published","published":"2024-07-09T16:15:43.351Z","modified":"2025-03-14T04:35:24.835Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:04.681315Z"}],"euvd":[{"id":"EUVD-2024-19347","description":"Improper handling of input could lead to an XSS vector in the StringHelper::truncate method.","status":"published","published":"2024-07-09T16:15:43Z","modified":"2025-03-14T04:35:24Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:53:03.669796Z"}],"ghsa":[{"id":"GHSA-m35v-jxg3-p887","title":"Improper handling of input could lead to an XSS vector in the StringHelper::truncate method.","description":"Improper handling of input could lead to an XSS vector in the StringHelper::truncate method.","status":"published","published":"2024-07-09T18:30:49Z","modified":"2024-08-16T15:32:43Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:57:59.133266Z"}],"nvd":[{"id":"CVE-2024-21731","description":"Improper handling of input could lead to an XSS vector in the StringHelper::truncate method.","status":"published","published":"2024-07-09T17:15:14.66Z","modified":"2026-06-17T07:10:01.94Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:10:12.016585Z"}],"osv":[{"id":"CVE-2024-21731","description":"Improper handling of input could lead to an XSS vector in the StringHelper::truncate method.","status":"published","published":"2024-07-09T17:15:14.66Z","modified":"2026-10-24T10:31:01.029064446Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:38.577405Z"},{"id":"BIT-joomla-2024-21731","title":"[20240703] - Core - XSS in StringHelper::truncate method","description":"Improper handling of input could lead to an XSS vector in the StringHelper::truncate method.","status":"published","published":"2025-04-03T14:16:45.887Z","modified":"2026-09-08T08:48:02.298461549Z","updated_at":"2026-11-02T15:28:31.782692Z"}]}}
