{"id":"CVE-2021-35043","aliases":["DEBIAN-CVE-2021-35043","EUVD-2021-1654","GHSA-9c8w-jrw3-q2c3","UBUNTU-CVE-2021-35043"],"status":"published","title":"Cross-site Scripting in OWASP AntiSamy","description":"OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with \u0026#00058 as the replacement for the : character.","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-12","score":0.01513,"percentile":0.74857,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-07-19T14:53:09Z","modified":"2026-10-23T18:03:37Z","fixes":[{"ecosystem":"Maven","package":"org.owasp.antisamy:antisamy","fixed_in":["1.6.4"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"libowasp-antisamy-java","fixed_in":["1.7.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libowasp-antisamy-java","fixed_in":["1.7.4-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.owasp.antisamy:antisamy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.7"},{"fixed":"1.6.4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1.1","1.7.4-1"]},{"source":"osv","ecosystem":"Debian:13","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4-1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.owasp.antisamy:antisamy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.7"},{"fixed":"1.6.4"}]}],"versions":["1.5.10","1.5.11","1.5.12","1.5.13","1.5.7","1.5.8","1.5.9","1.6.0","1.6.1","1.6.2","1.6.3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1.1","1.7.4-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4-1"]}],"products":[{"vendor":"antisamy_project","product":"antisamy"},{"vendor":"netapp","product":"active_iq_unified_manager"},{"vendor":"oracle","product":"banking_enterprise_default_management"},{"vendor":"oracle","product":"banking_enterprise_default_managment"},{"vendor":"oracle","product":"banking_party_management"},{"vendor":"oracle","product":"banking_platform"},{"vendor":"oracle","product":"insurance_policy_administration"},{"vendor":"oracle","product":"middleware_common_libraries_and_tools"},{"vendor":"oracle","product":"retail_back_office"},{"vendor":"oracle","product":"retail_central_office"},{"vendor":"oracle","product":"retail_returns_management"}],"references":[{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/nahsra/antisamy/releases/tag/v1.6.4","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/nahsra/antisamy/pull/87","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35043","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9c8w-jrw3-q2c3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-35043","tags":["advisory"]},{"url":"https://github.com/nahsra/antisamy","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-35043","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-35043","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-35043","description":"OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with \u0026#00058 as the replacement for the : character.","status":"published","published":"2021-07-19T14:53:09Z","modified":"2024-08-04T00:33:50.696Z","updated_at":"2026-11-02T14:33:09.864034Z"}],"euvd":[{"id":"EUVD-2021-1654","description":"OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with \u0026#00058 as the replacement for the : character.","status":"published","published":"2021-07-19T14:53:09Z","modified":"2024-08-04T00:33:50Z","updated_at":"2026-11-03T03:24:30.986651Z"}],"ghsa":[{"id":"GHSA-9c8w-jrw3-q2c3","title":"Cross-site Scripting in OWASP AntiSamy","description":"OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with \u0026#00058 as the replacement for the : character.","status":"published","published":"2021-08-02T16:58:43Z","modified":"2024-05-15T06:53:28Z","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:37:49.48194Z"}],"nvd":[{"id":"CVE-2021-35043","description":"OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with \u0026#00058 as the replacement for the : character.","status":"published","published":"2021-07-19T15:15:07.747Z","modified":"2026-06-17T03:57:02.01Z","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":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:55.747384Z"}],"osv":[{"id":"CVE-2021-35043","description":"OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with \u0026#00058 as the replacement for the : character.","status":"published","published":"2021-07-19T15:15:07.747Z","modified":"2026-10-20T10:54:45.683176403Z","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:20.13324Z"},{"id":"DEBIAN-CVE-2021-35043","description":"OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with \u0026#00058 as the replacement for the : character.","status":"published","published":"2021-07-19T15:15:07.747Z","modified":"2026-10-23T18:03:37.776770877Z","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:45:35.233346Z"},{"id":"GHSA-9c8w-jrw3-q2c3","title":"Cross-site Scripting in OWASP AntiSamy","description":"OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with \u0026#00058 as the replacement for the : character.","status":"published","published":"2021-08-02T16:58:43Z","modified":"2024-05-15T07:01:01.751437Z","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-02T15:46:43.524801Z"},{"id":"UBUNTU-CVE-2021-35043","description":"OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with \u0026#00058 as the replacement for the : character.","status":"published","published":"2021-07-19T15:15:00Z","modified":"2026-10-17T12:55:54.193426932Z","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:54:27.870979Z"}]}}
