{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/6716?format=json","vulnerability_id":"VCID-g2gb-x2nh-2bgz","summary":"Cross-site Scripting\nMultiple cross-site scripting (XSS) vulnerabilities in Apache Struts allow remote attackers to inject arbitrary web script or HTML via (1) the name parameter to `struts-examples/upload/upload-submit.do`, or the message parameter to (2) `struts-cookbook/processSimple.do` or (3) `struts-cookbook/processDyna.do`.","aliases":[{"alias":"CVE-2012-1007"},{"alias":"GHSA-9848-v244-962p"}],"fixed_packages":[],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/55133?format=json","purl":"pkg:maven/org.apache.struts/struts2-parent@1.3.10","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-g2gb-x2nh-2bgz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-parent@1.3.10"},{"url":"http://public2.vulnerablecode.io/api/packages/301110?format=json","purl":"pkg:maven/org.apache.struts/struts-core@1.3.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-dk2f-14xj-9bf8"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts-core@1.3.5"},{"url":"http://public2.vulnerablecode.io/api/packages/301111?format=json","purl":"pkg:maven/org.apache.struts/struts-core@1.3.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-dk2f-14xj-9bf8"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts-core@1.3.8"},{"url":"http://public2.vulnerablecode.io/api/packages/301112?format=json","purl":"pkg:maven/org.apache.struts/struts-core@1.3.9","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-dk2f-14xj-9bf8"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts-core@1.3.9"},{"url":"http://public2.vulnerablecode.io/api/packages/51555?format=json","purl":"pkg:maven/org.apache.struts/struts-core@1.3.10","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-dk2f-14xj-9bf8"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts-core@1.3.10"},{"url":"http://public2.vulnerablecode.io/api/packages/147915?format=json","purl":"pkg:maven/struts/struts@1.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/147916?format=json","purl":"pkg:maven/struts/struts@1.1-beta-2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.1-beta-2"},{"url":"http://public2.vulnerablecode.io/api/packages/147917?format=json","purl":"pkg:maven/struts/struts@1.1-b2-20021124","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.1-b2-20021124"},{"url":"http://public2.vulnerablecode.io/api/packages/147918?format=json","purl":"pkg:maven/struts/struts@1.1-b3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.1-b3"},{"url":"http://public2.vulnerablecode.io/api/packages/147919?format=json","purl":"pkg:maven/struts/struts@1.1-rc1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.1-rc1"},{"url":"http://public2.vulnerablecode.io/api/packages/147920?format=json","purl":"pkg:maven/struts/struts@1.1-rc2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.1-rc2"},{"url":"http://public2.vulnerablecode.io/api/packages/55123?format=json","purl":"pkg:maven/struts/struts@1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-jjre-tuhb-4yat"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/147921?format=json","purl":"pkg:maven/struts/struts@1.2.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-jjre-tuhb-4yat"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.2.2"},{"url":"http://public2.vulnerablecode.io/api/packages/147922?format=json","purl":"pkg:maven/struts/struts@1.2.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-jjre-tuhb-4yat"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.2.4"},{"url":"http://public2.vulnerablecode.io/api/packages/147923?format=json","purl":"pkg:maven/struts/struts@1.2.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-jjre-tuhb-4yat"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.2.7"},{"url":"http://public2.vulnerablecode.io/api/packages/147924?format=json","purl":"pkg:maven/struts/struts@1.2.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-8dws-9ubs-qqcg"},{"vulnerability":"VCID-ffbg-tkyw-ufad"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-jjre-tuhb-4yat"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-v9xj-szyz-3ufy"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.2.8"},{"url":"http://public2.vulnerablecode.io/api/packages/50190?format=json","purl":"pkg:maven/struts/struts@1.2.9","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4wwa-j9p2-9be1"},{"vulnerability":"VCID-dk2f-14xj-9bf8"},{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-jjre-tuhb-4yat"},{"vulnerability":"VCID-nur4-1g8a-57ew"},{"vulnerability":"VCID-ppuk-knqn-tfc6"},{"vulnerability":"VCID-s3uq-35pj-byhy"},{"vulnerability":"VCID-vk8c-a1za-w3cd"},{"vulnerability":"VCID-wqjz-93pk-pbg7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.2.9"},{"url":"http://public2.vulnerablecode.io/api/packages/20033?format=json","purl":"pkg:maven/struts/struts@1.3.10","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-g2gb-x2nh-2bgz"},{"vulnerability":"VCID-nur4-1g8a-57ew"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.3.10"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1007.json","reference_id":"","reference_type":"","scores":[],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1007.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2012-1007","reference_id":"","reference_type":"","scores":[{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95974","published_at":"2026-05-16T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95959","published_at":"2026-05-12T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95972","published_at":"2026-05-14T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95973","published_at":"2026-05-15T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95874","published_at":"2026-04-01T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95882","published_at":"2026-04-02T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95891","published_at":"2026-04-04T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95894","published_at":"2026-04-07T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95903","published_at":"2026-04-08T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95906","published_at":"2026-04-09T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.9591","published_at":"2026-04-11T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95909","published_at":"2026-04-12T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95911","published_at":"2026-04-13T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95923","published_at":"2026-04-16T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95928","published_at":"2026-04-18T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.9593","published_at":"2026-04-26T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95931","published_at":"2026-04-29T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95942","published_at":"2026-05-05T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95946","published_at":"2026-05-07T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.9595","published_at":"2026-05-09T12:55:00Z"},{"value":"0.23022","scoring_system":"epss","scoring_elements":"0.95954","published_at":"2026-05-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2012-1007"},{"reference_url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73052","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73052"},{"reference_url":"https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1007","reference_id":"","reference_type":"","scores":[],"url":"https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1007"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=788286","reference_id":"788286","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=788286"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1007","reference_id":"CVE-2012-1007","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1007"},{"reference_url":"https://github.com/advisories/GHSA-9848-v244-962p","reference_id":"GHSA-9848-v244-962p","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-9848-v244-962p"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":79,"name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[{"date_added":"2012-02-02","description":"Apache Struts - Multiple Persistent Cross-Site Scripting Vulnerabilities","required_action":null,"due_date":null,"notes":null,"known_ransomware_campaign_use":false,"source_date_published":"2012-02-02","exploit_type":"webapps","platform":"multiple","source_date_updated":"2012-02-02","data_source":"Exploit-DB","source_url":"http://secpod.org/advisories/SecPod_Apache_Struts_Multiple_Parsistant_XSS_Vulns.txt"}],"severity_range_score":"4.0 - 6.9","exploitability":"2.0","weighted_severity":"6.2","risk_score":10.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-g2gb-x2nh-2bgz"}