Exploit databaseDownload repository ZIP
GH-6349a2cafc034d1cb254d8cb79cc8cde
pvharmo2/gha-lab-fb6df3d456
Sources for CVE-2025-46820
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files47
pvharmo2/gha-lab-fb6df3d456Revision 300c7be959e8
- ↑..Parent directory
- ClientSide/
- Exception/
- Attr.php
- CdataSection.php
- CharacterData.php
- ChildNode.php
- Comment.php
- DOMParser.php
- DOMStringMap.php
- DOMStringMapFactory.php
- DOMTokenList.php
- DOMTokenListFactory.php
- Document.php
- DocumentFragment.php
- DocumentStream.php
- DocumentType.php
- Element.php
- ElementType.php
- Entity.php
- EntityReference.php
- HTMLCollection.php
- HTMLCollectionFactory.php
- HTMLDocument.php
- HTMLElement.php
- HTMLFormControlsCollection.php
- HTMLOptionsCollection.php
- Node.php
- Node83.php
- Node84.php
- NodeFilter.php
- NodeIterator.php
- NodeIteratorFactory.php
- NodeList.php
- NodeListFactory.php
- NonDocumentTypeChildNode.php
- Notation.php
- ParentNode.php
- ProcessingInstruction.php
- RadioNodeList.php
- RegisteredNodeClass.php
- Text.php
- Traversal.php
- TreeWalker.php
- TreeWalkerFactory.php
- XMLDocument.php
- XPathResult.php
- XPathResultFactory.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/RadioNodeList.php
PHP · 1,205 bytes<?php
namespace Gt\Dom;
/**
* @property string $value If the underlying element collection contains radio buttons, the RadioNodeList.value property represents the checked radio button. On retrieving the value property, the value of the currently checked radio button is returned as a string. If the collection does not contain any radio buttons or none of the radio buttons in the collection is in checked state, the empty string is returned. On setting the value property, the first radio button input element whose value property is equal to the new value will be set to checked.
*/
class RadioNodeList extends NodeList {
/** @link https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList/value */
public function __prop_get_value():string {
foreach($this as $node) {
if($node->type !== "radio") {
return "";
}
if($node->checked) {
return $node->value;
}
}
return "";
}
/** @link https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList/value */
public function __prop_set_value(string $value):void {
foreach($this as $node) {
if($node->type !== "radio") {
return;
}
if($node->value === $value) {
$node->checked = true;
}
}
}
}