iris-sast/CWE-Bench-Java
CWE-Bench-Java This repository contains the dataset CWE-Bench-Java presented in the paper LLM-Assisted Static Analysis for Detecting Security Vulnerabilities. At a high level, this dataset contains 120 CVEs spanning 4 CWEs, namely path-traversal, OS-command injection, cross-site scripting, and code-injection. Each CVE includes the buggy and fixed source code of the project, along with the information of the fixed files and functions. We provide the seed information for each… See the full description on the dataset page: https://huggingface.co/datasets/iris-sast/CWE-Bench-Java.
1204
1{2 "schema_version": "1.4.0",3 "id": "GHSA-hp5r-mhgp-56c9",4 "modified": "2021-08-04T20:00:07Z",5 "published": "2019-06-06T15:29:29Z",6 "aliases": [7 "CVE-2019-10078"8 ],9 "summary": "Cross-site Scriptin in JSPWiki",10 "details": "A carefully crafted plugin link invocation could trigger an XSS vulnerability on Apache JSPWiki 2.9.0 to 2.11.0.M3, which could lead to session hijacking. Initial reporting indicated ReferredPagesPlugin, but further analysis showed that multiple plugins were vulnerable.",11 "severity": [12 {13 "type": "CVSS_V3",14 "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"15 }16 ],17 "affected": [18 {19 "package": {20 "ecosystem": "Maven",21 "name": "org.apache.jspwiki:jspwiki-war"22 },23 "ranges": [24 {25 "type": "ECOSYSTEM",26 "events": [27 {28 "introduced": "2.9.0"29 },30 {31 "fixed": "2.11.0.M4"32 }33 ]34 }35 ],36 "database_specific": {37 "last_known_affected_version_range": "<= 2.11.0.M3"38 }39 },40 {41 "package": {42 "ecosystem": "Maven",43 "name": "org.apache.jspwiki:jspwiki-main"44 },45 "ranges": [46 {47 "type": "ECOSYSTEM",48 "events": [49 {50 "introduced": "2.9.0"51 },52 {53 "fixed": "2.11.0.M4"54 }55 ]56 }57 ],58 "database_specific": {59 "last_known_affected_version_range": "<= 2.11.0.M3"60 }61 }62 ],63 "references": [64 {65 "type": "ADVISORY",66 "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10078"67 },68 {69 "type": "WEB",70 "url": "https://jspwiki-wiki.apache.org/Wiki.jsp?page=CVE-2019-10078"71 }72 ],73 "database_specific": {74 "cwe_ids": [75 "CWE-79"76 ],77 "severity": "MODERATE",78 "github_reviewed": true,79 "github_reviewed_at": "2019-05-29T19:05:49Z",80 "nvd_published_at": "2019-05-20T21:29:00Z"81 }82}