{"dataType": "CVE_RECORD", "containers": {"cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:*", "cpe:2.3:a:ruby-lang:rdoc:4.0.0:preview2:*:*:*:ruby:*:*"], "vendor": "ruby-lang", "product": "rdoc", "versions": [{"status": "affected", "version": "2.3.0", "lessThan": "3.12", "versionType": "custom"}, {"status": "affected", "version": "4.0.0"}], "platforms": ["ruby"], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.9.3:p286:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.9.3:p383:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*"], "vendor": "ruby-lang", "product": "ruby", "versions": [{"status": "affected", "version": "1.9"}, {"status": "affected", "version": "1.9.1"}, {"status": "affected", "version": "1.9.2"}, {"status": "affected", "version": "1.9.3"}, {"status": "affected", "version": "2.0"}, {"status": "affected", "version": "2.0.0"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*"], "vendor": "canonical", "product": "ubuntu_linux", "versions": [{"status": "affected", "version": "12.04"}, {"status": "affected", "version": "12.10"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://bugzilla.redhat.com/show_bug.cgi?id=907820", "tags": ["issue-tracking"]}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://lists.opensuse.org/opensuse-updates/2013-02/msg00048.html", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://blog.segment7.net/2013/02/06/rdoc-xss-vulnerability-cve-2013-0256-releases-3-9-5-3-12-1-4-0-0-rc-2", "tags": ["third-party-advisory"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2013-0548.html", "tags": ["third-party-advisory"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2013-0686.html", "tags": ["third-party-advisory"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2013-0701.html", "tags": ["third-party-advisory"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2013-0728.html", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/52774", "tags": ["third-party-advisory"]}, {"url": "http://www.ubuntu.com/usn/USN-1733-1", "tags": ["third-party-advisory"]}, {"url": "https://github.com/rdoc/rdoc/commit/ffa87887ee0517793df7541629a470e331f9fe60", "tags": ["third-party-advisory"]}, {"url": "http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/", "tags": ["vendor-advisory"]}], "descriptions": [{"lang": "en", "value": "darkfish.js in RDoc 2.3.0 through 3.12 and 4.x before 4.0.0.preview2.1, as used in Ruby, does not properly generate documents, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL."}, {"lang": "es", "value": "darkfish.js de RDoc v2.3.0 hasta v3.12 y v4.x antes de v4.0.0.preview2.1, tal como se utiliza en Ruby, no se generó correctamente los documentos, que permite a atacantes remotos realizar ejecución de secuencias de comandos en sitios cruzados (XSS) a través de una URL manipulada."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2013-03-01T05:40:17Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2013-0256", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2013-03-01T05:40:17Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}