There is a mismatch in the current yabb_xss.nasl
file between the actual test done and the CVE description.
CVE-2004-2402 is the correct one for the XSS, CVE-2004-2403 covers a CSRF attack that is not handled in the nasl script.
Below you can find the appropriate diff
output for patching the script in the repository:
$ diff /var/lib/openvas/plugins/pre2008/yabb_xss.nasl ./fixed-yabb_xss.nasl
6a7,10
> # Sascha Brendel <sascha.brendel@dgc.org>
> # Fixes by Deutsche Gesellschaft fuer Cybersicherheit
> # - fixed CVE id, CVSS base score and vector according to the correct CVE
> #
35c39
< script_tag(name:"last_modification", value:"2020-08-24 15:18:35 +0000 (Mon, 24 Aug 2020)");
---
> script_tag(name:"last_modification", value:"2021-02-03 15:18:35 +0100 (Wed, 03 Feb 2021)");
37c41
< script_cve_id("CVE-2004-2402", "CVE-2004-2403");
---
> script_cve_id("CVE-2004-2402");
39,40c43,44
< script_tag(name:"cvss_base", value:"10.0");
< script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
---
> script_tag(name:"cvss_base", value:"4.3");
> script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
Please let me know when an update is available.
Best regards,
Sascha Brendel